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
DBIx::Class::Migration::Script::Help::fixture_sets(3) User Contributed Perl Documentation DBIx::Class::Migration::Script::Help::fixture_sets(3)

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

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

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.

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
2020-06-02 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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