John Napiorkowski > DBIx-Class-Migration-0.039 > DBIx::Class::Migration::Script::Help::target_dir

Download:
DBIx-Class-Migration-0.039.tar.gz

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: DBIx-Class-Migration-0.044

NAME ^

DBIx::Class::Migration::Script::Help::target_dir - Where your migration files live

SYNOPSIS ^

    dbic-migration --target_dir /opt/migrations

DESCRIPTION ^

Aliases

D

Value

String that represents a filesystem path

A directory path that is used to store your fixtures and migration files. By default this will be the share directory for the application where your "schema_class" resides. I recommend you leave it alone since this is a reasonable Perl convention for non code data, and there's a decent ecosystem of tools around it, however if you need to place the files in an alternative location (for example you have huge fixture sets and you don't want them in you core repository, or you can't store them in a limited space filesystem) this will let you do it.

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

SEE ALSO ^

DBIx::Class::Migration, DBIx::Class::Migration::Script, DBIx::Class::Migration::Features, DBIx::Class::Migration::Tutorial

AUTHOR ^

See DBIx::Class::Migration for author information

COPYRIGHT & LICENSE ^

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

syntax highlighting: