DBIx::C...:upgrade(3)

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

πŸŽ€ NAME πŸŽ€

Hiii bestie πŸ’– this is the DBIx::C...:upgrade(3) page from User Contributed Perl Documentation, and it’s here to help with DBIx::Class::Migration::Script::Help::upgrade β€” aka the thing that helps you Upgrade your existing database. Slay.


✨ SYNOPSIS ✨

Like, run this, okay? πŸ‘‡

dbic-migration upgrade --schema_class MyApp::Schema --to_version 2

πŸ’« DESCRIPTION πŸ’«

Okay so upgrade runs upgrade files to either bring your database into sync with the current schema version, or stop at an intermediate version that you specify via to_version. That’s the whole vibe: sync all the way, or take a lil’ pit stop at the version you named. No cap. πŸ’…


🌸 OPTIONS 🌸

This command accepts the following options. You may learn more about each option by typing dbic-migration help OPTION. The following is a summary. Periodt.

  • includes (I, lib, libs, include) β€” Optional. Adds the listed paths to @INC. Handy during development when you want to use a development schema class. πŸ› οΈ
  • to_version β€” aliases: V. Optional. This is the target version of the database we are installing. The version named must have been previously prepared. If not specified, we will use the current Schema class version. 🎯
  • schema_class (S) β€” Accepts Str. Required. This is the schema we use as the basis for creating, managing and running your deployments. This should be the full package namespace defining your subclass of DBIx::Class::Schema. For example, MyApp::Schema. If the schema_class cannot be loaded, a hard exception will be thrown. 😭 Not a vibe β€” it’s literally a hard exception.
  • target_dir (D) β€” Optional. When using a sandbox_class for generating developer level database sandboxes, you may wish to place the sandbox in a directory other than the default (which is under the share directory off the project root). πŸ“
  • sandbox_class β€” Aliases: T, sb. Accepts: String (default: SqliteSandbox). The class we use to create a developer level database sandbox. You can change this to either 'PostgresqlSandbox' or 'MySQLSandbox', which will create a sandbox using either DBIx::Class::Migration::MySQLSandbox or DBIx::Class::Migration::PostgresqlSandbox. πŸ–οΈ
  • user β€” Aliases: U. 🫢
  • password β€” Aliases: P. πŸ”
  • dsn β€” Connection information to an already created and running instance of a database. If you don’t specify this, we will assume you want a developer level sandbox (See sandbox_class in DBIx::Class::Migration::Script). πŸ”Œ
  • dbic_fixture_class β€” Accepts: String to a Perl Class. Defaults to DBIx::Class::Fixtures. Lets you specify a fixture class. 🧸
  • dbic_fixtures_extra_args β€” Accepts: HashRef. Optional. Allows you to pass custom arguments to DBIx::Class::Fixtures. πŸŽ›οΈ
  • dbic_connect_attrs β€” Accepts: HashRef, Optional. Lets you send custom attributes at connect time to either DBIx::Class or the underlying DBI and your storage DBD. 🫢
  • dbi_connect_attrs β€” Accepts: HashRef, Optional. Lets you send custom attributes at connect time to either DBIx::Class or the underlying DBI and your storage DBD. 🫢

🌈 SEE ALSO 🌈

Okay bestie, go peek at these iconic pages:

  • DBIx::Class::Migration
  • DBIx::Class::Migration::Script
  • DBIx::Class::Migration::Features
  • DBIx::Class::Migration::Tutorial

πŸ‘‘ AUTHOR πŸ‘‘

See DBIx::Class::Migration for author information. πŸ‘‘


See DBIx::Class::Migration for copyright and license information. πŸ’–


πŸ’…βœ¨ That’s the whole page, bestie β€” perl v5.42.0, dated 2020-06-03, and it’s the DBIx::C...:upgrade(3) manual page. Mwah! πŸ’–

πŸ“¦ where this page comes from