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

DBIx::Class::Migration::Script::Help::sandbox_class

    dbic-migration install --schema_class MyApp::Schema --sandbox_class MySQLSandbox

Aliases
T, sb
Value
String (default: SqliteSandbox)

If you don't have a target database for your migrations (as you might not for your development setup, or during initial prototyping) we automatically create a local database sandbox in your "target_dir" in DBIx::Class::Migration::Script.

By default this sandbox is a file based DBD::Sqlite database, which is an easy option since changes are good this is already installed on your development computer (and if not it is trivial to install).

You can change this to either 'PostgresqlSandbox' or 'MySQLSandbox', which will create a sandbox using either DBIx::Class::Migration::MySQLSandbox or DBIx::Class::Migration::PostgresqlSandbox (which in term require the separate installation of either Test::mysqld or Test::Postgresql58).

Like some of the other option flags you can specify with an %ENV setting:

    export DBIC_MIGRATION_SANDBOX_CLASS=MySQLSandbox

The default sqlite sandbox is documented at DBIx::Class::Migration::SQLiteSandbox although this single file database is pretty straightforward to use.

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.