From: Ash Berlin Date: Tue, 11 Jul 2006 13:38:02 +0000 (+0000) Subject: Doced {add_drop_table} option to deploy X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=51bace1c68beb65673e42943a049497d75b6d743;p=dbsrgits%2FDBIx-Class-Historic.git Doced {add_drop_table} option to deploy --- diff --git a/lib/DBIx/Class/Schema.pm b/lib/DBIx/Class/Schema.pm index c7214ca..427faeb 100644 --- a/lib/DBIx/Class/Schema.pm +++ b/lib/DBIx/Class/Schema.pm @@ -701,6 +701,10 @@ Attempts to deploy the schema to the current storage using L. Note that this feature is currently EXPERIMENTAL and may not work correctly across all databases, or fully handle complex relationships. +See L for a list of values for C<$sqlt_args>. The most +common value for this would be C<< { add_drop_table => 1, } >> to have the SQL +produced include a DROP TABLE statement for each table created. + =cut sub deploy {