-
Notifications
You must be signed in to change notification settings - Fork 0
frootima/mybaties
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Welcome! This is an MyBatis Migration repository. You can specify the repository directory when running migrations using the --path=<repos-directory> 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=<environment> 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 MyBatis Migration script with the --help option. Enjoy.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published