markerikson / migrate4j Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ragesteel/migrate4j
Copy of migrate4j subversion repository, revision #116
This project forked from ragesteel/migrate4j
Copy of migrate4j subversion repository, revision #116
README for migrate4j See our sourceforge page (http://sourceforge.net/projects/migrate4j) or our homepage (http://migrate4j.sourceforge.net) for current information. This information is also included in each release in the "web" directory. Please direct questions to: [email protected] Project Goals: Migrate4j is a database migration package for Java. While migrate4j will never have the intuitiveness of the db:migrate rake task in rails, this is an attempt to come as close as possible. Migrate4j allows upgrading and reverting your database schema. In order to mimic rails, convention is used to minimize the amount of set up. If you follow the convention, all you need to do is create classes that inherit from the Migration interface, naming each one with the pattern "Migration_X" where X is the sequential order of the migration. For example, you would create Migration_1.java, Migration_2.java, and so on. Most (or all) of the convention can be overwritten by modifying the migrate4j.properties file. Prerequisites: Java 1.5 or higher, commons-logging, and a JDBC driver for your database . If your database is not currently supported, you are free to add support (or request support by emailing [email protected]). Installation: Migrate4j uses a properties file to determine where your migration files reside and what work to do. To run the ant script from Eclipse, be sure you add junit.jar to the Ant runtime. To do this, select Window -> Preferences -> Ant -> Runtime -> Global Entries and add a link to junit.jar. To run the junit tests in Eclipse directly, add the jars in the lib directory to the project build path. To do this, select Project -> Properties -> Java Build Path. Click the "Add Jar" button and select everything inside migrate4j/lib. To run migrate4j against your database, you need to add a "version" table. Using the following queries should work for most database products: create table version (version int not null primary key); insert into version values (0);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.