DBIx::C...atabases(3)
π DBIx::Class::Migration::Script::Help::databases(3) β the manual page, but make it cute π
okay so bestie, this is the User Contributed Perl Documentation for the databases help page from the DBIx::Class::Migration::Script::Help crew. We're asking one iconic question: which databases are we building migrations for? π
β¨ NAME β¨
DBIx::Class::Migration::Script::Help::databases β Which databases are we building migrations for?
Like, literally the whole point. π¦
πΈ SYNOPSIS πΈ
dbic-migration prepare --databases SQLite --databases mysql
No cap, that's the vibe check. β¨
π DESCRIPTION π
π Aliases π
databaseβ yeah, that's the alias, bestie. Same energy. π«Ά
π Value π
Str or Array of Str(default:SQLite)
Okay so this is the option that tells the migration machine which target databases you're building migration files for. It gets used when building migration in DBIx::Class::Migration::Script. You can name any of the databases currently supported by SQL::Translator β she's flexible like that. π§
If you leave this undefined, we 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']. Cute, right? π
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. For real:
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. No sneaky auto-fill, bestie. π
π SEE ALSO π
Go read these icons, fr fr:
DBIx::Class::MigrationDBIx::Class::Migration::ScriptDBIx::Class::Migration::FeaturesDBIx::Class::Migration::Tutorial
π AUTHOR π
See DBIx::Class::Migration for author information. Shoutout to whoever wrote it. π«Ά
π COPYRIGHT & LICENSE π
See DBIx::Class::Migration for copyright and license information. Legal besties, do your thing. β
okay that's the whole page, mwah π β source/version is perl v5.42.0, date is 2020-06-03, and the footer name is DBIx::C...atabases(3). byeeee π¦
π¦ where this page comes from
- opensuse-leap 16.0: perl-DBIx-Class-Migration 0.075-bp160.1.10 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms