remove BindType2 test class
[dbsrgits/DBIx-Class.git] / maint / gen-schema.pl
index 6244702..70e30ae 100755 (executable)
@@ -4,16 +4,15 @@ use strict;
 use warnings;
 use lib qw(lib t/lib);
 
+use DBICTest;
 use DBICTest::Schema;
 use SQL::Translator;
 
-my $sql_join_str = '';
-if (SQL::Translator->VERSION >= 0.09001) {
-    $sql_join_str .= ";";
-}
-if (SQL::Translator->VERSION >= 0.09) {
-    $sql_join_str .= "\n";
-}
-
-my $schema = DBICTest::Schema->connect;
-print join ($sql_join_str,$schema->storage->deployment_statements($schema, 'SQLite') );
+my $schema = DBICTest::Schema->connect(DBICTest->_database);
+print scalar ($schema->storage->deployment_statements(
+  $schema,
+  'SQLite',
+  undef,
+  undef,
+  { producer_args => { no_transaction => 1 } }
+));