[Bast-commits] r4431 - DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage
ash at dev.catalyst.perl.org
ash at dev.catalyst.perl.org
Fri May 30 14:34:39 BST 2008
Author: ash
Date: 2008-05-30 14:34:39 +0100 (Fri, 30 May 2008)
New Revision: 4431
Modified:
DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI.pm
Log:
Update docs (and code changes that were missed from last commit, oops):
Set ignore_contraint_names to default on
Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI.pm 2008-05-30 13:29:32 UTC (rev 4430)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI.pm 2008-05-30 13:34:39 UTC (rev 4431)
@@ -1432,13 +1432,22 @@
=over 4
-=item Arguments: $schema \@databases, $version, $directory, $preversion, $sqlt_args
+=item Arguments: $schema \@databases, $version, $directory, $preversion, \%sqlt_args
=back
Creates a SQL file based on the Schema, for each of the specified
database types, in the given directory.
+By default, C<\%sqlt_args> will have
+
+ { add_drop_table => 1, ignore_constraint_names => 1, ignore_index_names => 1 }
+
+merged with the hash passed in. To disable any of those features, pass in a
+hashref like the following
+
+ { ignore_constraint_names => 0, # ... other options }
+
=cut
sub create_ddl_dir
More information about the Bast-commits
mailing list