Migrondi.json
To be able to use this tool you need to supply a JSON configuration file named migrondi.json
this file can be on the root of your project or in a dedicated directory such as migrations
.
|
-
connection
This is a IDbConnection compatible connection string (you can find examples in the follwing links)
-
migrations
this is an absolute or relative path to where the migrations will be stored Note: please include the trailing slash to prevent writing on the directory above of the one you pointed to. (if you use the init command, this is created for you)
-
tableName
this is the name of the table that will be used to store the migrations, this table will be created for you if it does not exist.
-
driver
any of the following "mssql" "sqlite" "mysql" "postgres"