remove connect_info from maint/gen-schema.pl
[dbsrgits/DBIx-Class.git] / maint / gen-schema.pl
index a4e101d..907ed11 100755 (executable)
@@ -4,8 +4,14 @@ use strict;
 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;
+print scalar ($schema->storage->deployment_statements(
+  $schema,
+  'SQLite',
+  undef,
+  undef,
+  { producer_args => { no_transaction => 1 } }
+));