DBIx::C...get_dir(3)

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

🌸 DBIx::Class::Migration::Script::Help::target_dir β€” where your migration files live πŸ’…

okay so bestie, this is a User Contributed Perl Documentation page, and it’s literally the guide to where your migration files live. no cap.

✨ NAME ✨

DBIx::Class::Migration::Script::Help::target_dir β€” where your migration files live

πŸ¦‹ SYNOPSIS πŸ¦‹

dbic-migration --target_dir /opt/migrations

πŸ’– DESCRIPTION πŸ’–

okay so target_dir is the main character here, and it’s all about giving your fixtures and migration files a home. 🏠✨

🌸 Aliases 🌸

  • Alias β€” D

πŸŽ€ Value πŸŽ€

  • Value β€” string that represents a filesystem path

This is a directory path that is used to store your fixtures and migration files. By default, it will be the share directory for the application where your schema_class in DBIx::Class::Migration::Script resides. The docs are like, β€œI recommend you leave it alone” β€” because this is a reasonable Perl convention for non-code data, and there’s a decent ecosystem of tools around it. iykyk πŸ’…

But if you need to place the files in an alternative location, you absolutely can. For example, if you have huge fixture sets and you don’t want them in your core repository, or you can’t store them in a limited space filesystem, this option lets you do it. slay. 🌈

When required, you can also populate this option with the %ENV variable DBIC_MIGRATION_TARGET_DIR.

πŸ”₯ SEE ALSO πŸ”₯

go read these next, bestie β€” they’re iconic:

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

πŸ‘‘ AUTHOR πŸ‘‘

See DBIx::Class::Migration for author information. the receipts are over there 🫢

See DBIx::Class::Migration for copyright and license information.


kisses bestie πŸ’– this page is from perl v5.42.0, dated 2020-06-03 β€” iconic behavior only πŸŽ€βœ¨

πŸ“¦ where this page comes from