X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=maint%2Fgen-schema.pl;h=83c8d0397d8c6c4145af0e5f2bdceff5953e1d13;hb=30a3e7444b2e86713c0802f85a1598c0d2f936d6;hp=a4e101dd47bc9c07eb558142abd7f320db8d3821;hpb=1c339d715e7bf746c8aec49981060f25a6649370;p=dbsrgits%2FDBIx-Class.git diff --git a/maint/gen-schema.pl b/maint/gen-schema.pl index a4e101d..83c8d03 100755 --- a/maint/gen-schema.pl +++ b/maint/gen-schema.pl @@ -4,8 +4,8 @@ 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'));