X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=maint%2Fgen-schema.pl;h=907ed11cb1fde4e14807c4d128031786952f0455;hb=d2f4cc4a86585dbaf0bda33cf9c1d4403b6397a4;hp=ffd2df7995289cc4433b78cfa70af86751382d0f;hpb=064ec2dbe7002745f1b905c655d05e4de98f44d3;p=dbsrgits%2FDBIx-Class.git diff --git a/maint/gen-schema.pl b/maint/gen-schema.pl index ffd2df7..907ed11 100755 --- a/maint/gen-schema.pl +++ b/maint/gen-schema.pl @@ -5,7 +5,13 @@ use warnings; use lib qw(lib t/lib); use DBICTest::Schema; +use SQL::Translator; my $schema = DBICTest::Schema->connect; - -print $schema->storage->deployment_statements($schema, 'SQLite'); +print scalar ($schema->storage->deployment_statements( + $schema, + 'SQLite', + undef, + undef, + { producer_args => { no_transaction => 1 } } +));