DBIx::C...atabases(3)

πŸ“¦ version 0.075, in opensuse-leap 16.0

πŸŽ€ 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::Migration
  • DBIx::Class::Migration::Script
  • DBIx::Class::Migration::Features
  • DBIx::Class::Migration::Tutorial

🌈 AUTHOR 🌈

See DBIx::Class::Migration for author information. Shoutout to whoever wrote it. 🫢

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