X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=maint%2Fgen-schema.pl;h=e3faa85d8b41fb19852344d95589b8c991446f4f;hb=f05edfd131226876096103089d62a775dd3c99ba;hp=ffd2df7995289cc4433b78cfa70af86751382d0f;hpb=064ec2dbe7002745f1b905c655d05e4de98f44d3;p=dbsrgits%2FDBIx-Class.git diff --git a/maint/gen-schema.pl b/maint/gen-schema.pl index ffd2df7..e3faa85 100755 --- a/maint/gen-schema.pl +++ b/maint/gen-schema.pl @@ -1,11 +1,17 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; 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 } } +));