DBIx::C...get_dir(3)
πΈ 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::MigrationDBIx::Class::Migration::ScriptDBIx::Class::Migration::FeaturesDBIx::Class::Migration::Tutorial
π AUTHOR π
See DBIx::Class::Migration for author information. the receipts are over there π«Ά
π COPYRIGHT & LICENSE π
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
- 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