remove BindType2 test class
[dbsrgits/DBIx-Class.git] / maint / gen-schema.pl
index a4e101d..70e30ae 100755 (executable)
@@ -5,7 +5,14 @@ use warnings;
 use lib qw(lib t/lib);
 
 use DBICTest;
+use DBICTest::Schema;
+use SQL::Translator;
 
-my $schema = DBICTest->initialise;
-
-print $schema->storage->deployment_statements($schema);
+my $schema = DBICTest::Schema->connect(DBICTest->_database);
+print scalar ($schema->storage->deployment_statements(
+  $schema,
+  'SQLite',
+  undef,
+  undef,
+  { producer_args => { no_transaction => 1 } }
+));