The migrations module. Contains the Migrations class.
- module
- ~Migrations
- new Migrations()
- .config :
object
- .schema :
string
- .moduleConfig :
object
- .sequelize :
object
- .dbComponents :
Object.<string, object>
- .seedingOrder :
Array.<string>
- ~Migrations
Kind: inner class of module
- ~Migrations
- new Migrations()
- .config :
object
- .schema :
string
- .moduleConfig :
object
- .sequelize :
object
- .dbComponents :
Object.<string, object>
- .seedingOrder :
Array.<string>
The Migrations class. It takes care of synchronizing the actual database tables with the current state of the code models, generating backups and inserting various sets of data. It also starts an api server, if configured, which can be used as an interface for running sync, generateSeed, generateBackup, seed and insertStaticData.
The project config object.
Kind: instance property of Migrations
The project config object's db.schema property.
Kind: instance property of Migrations
The project config object's migrations property.
Kind: instance property of Migrations
A sequelize instance.
Kind: instance property of Migrations
An object, containing the db components by name, taken from the db module's components property.
Kind: instance property of Migrations
An array of dbComponent names, in order of which tables will be inserted in the database.
Kind: instance property of Migrations