DBIx-Class-Migration
view release on metacpan or search on metacpan
README.mkdn view on Meta::CPAN
Run upgrade files to bring the database into sync with the current schema
version.
## downgrade
Run down files to bring the database down to the previous version from what is
installed to the database
## drop\_tables
Drops all the tables in the connected database with no backup or recovery. For
real! (Make sure you are not connected to Prod, for example).
## delete\_table\_rows
Does a `delete` on each table in the database, which clears out all your data
but preserves tables. For Real! You might want this if you need to load
and unload fixture sets during testing, or perhaps to get rid of data that
accumulated in the database while running an app in development, before dumping
fixtures.
lib/DBIx/Class/Migration.pm view on Meta::CPAN
Run upgrade files to bring the database into sync with the current schema
version.
=head2 downgrade
Run down files to bring the database down to the previous version from what is
installed to the database
=head2 drop_tables
Drops all the tables in the connected database with no backup or recovery. For
real! (Make sure you are not connected to Prod, for example).
=head2 delete_table_rows
Does a C<delete> on each table in the database, which clears out all your data
but preserves tables. For Real! You might want this if you need to load
and unload fixture sets during testing, or perhaps to get rid of data that
accumulated in the database while running an app in development, before dumping
fixtures.
lib/DBIx/Class/Migration/Script/Help/drop_tables.pod view on Meta::CPAN
=head1 NAME
DBIx::Class::Migration::Script::Help::drop_tables - drop all tables to the connected database
=head1 SYNOPSIS
dbic-migration drop_tables --schema_class MyApp::Schema
=head1 DESCRIPTION
Drops all the tables in the connected database with no backup or recovery. For
real! (Make sure you are not connected to Production, for example)
This command is intended to be a developer convenience function. It is not
intended to be used as a general purpose administration tool.
=head1 OPTIONS
This command accepts the following options. You may learn more about each
option by typing C<dbic-migration help OPTION>. The following is a summary.
( run in 1.535 second using v1.01-cache-2.11-cpan-49f99fa48dc )