GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DBIX::CLASS::MIGRATION::SCRIPT::HELP::FIXTURE_SETS (3)

.ds Aq ’

NAME

DBIx::Class::Migration::Script::Help::fixture_sets - fixture sets to dump or load

CONTENTS

SYNOPSIS



     dbic-migration dump --fixture_set roles --fixture_set core



DESCRIPTION

Aliases fixture_set
Value 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.

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.

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
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DBIX::CLASS::MIGRATION::SCRIPT::HELP::FIXTURE_SETS (3) 2015-03-24

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.