GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DBIx::Class::Migration::Script::Help::databases(3) User Contributed Perl Documentation DBIx::Class::Migration::Script::Help::databases(3)

DBIx::Class::Migration::Script::Help::databases - Which databases are we building migrations for?

    dbic-migration prepare --databases SQLite --databases mysql

Aliases
database
Value
Str or Array of Str (default: SQLite)

Used when building "migration"" in "DBIx::Class::Migration::Script to define the target databases we are building migration files for. You can name any of the databases currently supported by SQL::Translator. If you leave this undefined we will derive a value based on the value of "dsn" in DBIx::Class::Migration::Script. For example, if your "dsn" in DBIx::Class::Migration::Script is "DBI:SQLite:test.db", we will set the value of "databases" in DBIx::Class::Migration::Script to "['SQLite']".

You can prepare deployment for any database type that SQL::Translator understand. By default we only prepare a deployment version for the database which matches the "dsn" in DBIx::Class::Migration::Script 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.

DBIx::Class::Migration, DBIx::Class::Migration::Script, DBIx::Class::Migration::Features, DBIx::Class::Migration::Tutorial

See DBIx::Class::Migration for author information

See DBIx::Class::Migration for copyright and license information
2020-06-02 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.