NAME
DBIx::Class::Migration::Script::Help::databases - Which databases are we building migrations for?
SYNOPSIS
dbic-migration prepare --databases SQLite --databases mysql
DESCRIPTION
- Aliases
-
database
- Value
-
Str or Array of Str (default: SQLite)
Used when building "migration" to define the target databases we are building migration files for. You can name any of the databases currently supported by SQLT. If you leave this undefined we will derive a value based on the value of "dsn". For example, if your "dsn" is "DBI:SQLite:test.db", we will set the value of "databases" to ['SQLite']
.
You can prepare deployment for any database type that SQLT understand. By default we only prepare a deployment version for the database which matches the dsn you specified but you can use this to prepare additional deployments
dbic-migration prepare --database SQLite --database MySQL --PostgreSQL
Please note if you choose to manually set this value, you won't automatically get the default or inferred database, you'll need to specify all the SQLT database types you wish.
SEE ALSO
DBIx::Class::Migration, DBIx::Class::Migration::Script, DBIx::Class::Migration::Features, DBIx::Class::Migration::Tutorial
AUTHOR
See DBIx::Class::Migration for author information
COPYRIGHT & LICENSE
See DBIx::Class::Migration for copyright and license information