Reduce mount of perlgolf in ResultSet.pm
[dbsrgits/DBIx-Class.git] / maint / gen-schema.pl
index 70e30ae..e3faa85 100755 (executable)
@@ -1,14 +1,13 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 use strict;
 use warnings;
 use lib qw(lib t/lib);
 
-use DBICTest;
 use DBICTest::Schema;
 use SQL::Translator;
 
-my $schema = DBICTest::Schema->connect(DBICTest->_database);
+my $schema = DBICTest::Schema->connect;
 print scalar ($schema->storage->deployment_statements(
   $schema,
   'SQLite',