Update docs (and code changes that were missed from last commit, oops):
Ash Berlin [Fri, 30 May 2008 13:34:39 +0000 (13:34 +0000)]
Set ignore_contraint_names to default on

lib/DBIx/Class/Storage/DBI.pm

index fbf0c8b..bebf2d8 100644 (file)
@@ -1432,13 +1432,22 @@ sub bind_attribute_by_data_type {
 
 =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