X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=maint%2Fgen-schema.pl;h=e3faa85d8b41fb19852344d95589b8c991446f4f;hb=4e0a89e400d865458081bc5af9e0eedf349f60de;hp=83c8d0397d8c6c4145af0e5f2bdceff5953e1d13;hpb=a085381e61284d46d374ada169f52ae6e35fc9bb;p=dbsrgits%2FDBIx-Class.git diff --git a/maint/gen-schema.pl b/maint/gen-schema.pl index 83c8d03..e3faa85 100755 --- a/maint/gen-schema.pl +++ b/maint/gen-schema.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; @@ -8,4 +8,10 @@ use DBICTest::Schema; use SQL::Translator; my $schema = DBICTest::Schema->connect; -print scalar ($schema->storage->deployment_statements($schema, 'SQLite')); +print scalar ($schema->storage->deployment_statements( + $schema, + 'SQLite', + undef, + undef, + { producer_args => { no_transaction => 1 } } +));