Storage Plugins
Storage plugins are used for storing and reading the migration history state. Usually you’ll want to store the migration history in the same database as the one which your migration files are targeting.
Using a storage plugin
You can specify a storage plugin via the --storage
(or -s
for short) option:
Or set it up in your configuration file, see Storage configuration for more information.
Available storage plugins
File System The most basic storage plugin - for simple setups
PostgreSQL A storage plugin that uses a PostgreSQL database for storing the migration history state
MySQL A storage plugin that uses a MySQL database for storing the migration history state