All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.ibatis.migration.template_README Maven / Gradle / Ivy

There is a newer version: 3.0-beta-10
Show newest version
Welcome!

This is an iBATIS Migration repository.  You can specify the repository
directory when running migrations using the --path=
option.  The default path is the current working directory ("./").

The repository base directory contains three subdirectories as follows:

./drivers

Place your JDBC driver .jar or .zip files in this directory.  Upon running a
migration, the drivers will be dynamically loaded.

./environments

In the environments folder you will find .properties files that represent
your database instances.  By default a development.properties file is
created for you to configure your development time database properties.
You can also create test.properties and production.properties files.
The environment can be specified when running a migration by using
the --env= option (without the path or ".properties" part).

The default environment is "development".

./scripts

This directory contains your migration SQL files.  These are the files
that contain your DDL to both upgrade and downgrade your database
structure.  By default, the directory will contain the script to
create the changelog table, plus one empty "first" migration script.
To create a new migration script, use the "new" command.  To run
all pending migrations, use the "up" command.  To undo the last
migration applied, use the "down" command etc.

For more information about commands and options, run the ibatis
migration script with the --help option.

Enjoy.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy