DBIx::Class::Migration::Script::Help::fixture_sets - fixture sets to dump or load
dbic-migration dump --fixture_set roles --fixture_set core
fixture_set
Str or Array of String. Defaults to 'all_tables'.
When dumping or populating fixture sets, you use this to set which sets.
Please note that if you manually describe your sets as in the above example, you don't automatically get the all_tables set, which is a fixture set of all database information and not 'all' the sets.
all_tables
We automatically create the all_tables fixture set description file for you when you prepare a new migration of the schema. You can use this set for early testing but I recommend you study DBIx::Class::Fixtures and learn the set configuration rules, and create limited fixture sets for given purposes, rather than just dump / populate everything, since that is like to get big pretty fast
My recommendation is to create a core 'seed' set, of default database values, such as role types, default users, lists of countries, etc. and then create a 'demo' or 'dev' set that contains extra information useful to populate a database so that you can run test cases and develop against.
DBIx::Class::Migration, DBIx::Class::Migration::Script, DBIx::Class::Migration::Features, DBIx::Class::Migration::Tutorial
See DBIx::Class::Migration for author information
See DBIx::Class::Migration for copyright and license information
To install DBIx::Class::Migration, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class::Migration
CPAN shell
perl -MCPAN -e shell install DBIx::Class::Migration
For more information on module installation, please visit the detailed CPAN module installation guide.