X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=maint%2Fgen-schema.pl;h=907ed11cb1fde4e14807c4d128031786952f0455;hb=7ad315356c82a425365b88b6146617485897a4a0;hp=d8d2ca18a3e4e805deb6087cd1924d68c7bbbc85;hpb=38e481637aa7e86b0257373e334457d5c23748fb;p=dbsrgits%2FDBIx-Class.git diff --git a/maint/gen-schema.pl b/maint/gen-schema.pl index d8d2ca1..907ed11 100755 --- a/maint/gen-schema.pl +++ b/maint/gen-schema.pl @@ -4,9 +4,14 @@ use strict; use warnings; use lib qw(lib t/lib); -use DBICTest; -use DBICTest::Schema::HelperRels; +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 } } +));