From: Rafael Kitover Date: Sat, 6 Mar 2010 23:05:25 +0000 (+0000) Subject: remove connect_info from maint/gen-schema.pl X-Git-Tag: v0.08121~73^2~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=288e6ad6d542c05eca648edf62ce55f69d51edef;hp=51aa21e49fc3641fb160d392d628b1447891682d;p=dbsrgits%2FDBIx-Class.git remove connect_info from maint/gen-schema.pl --- diff --git a/maint/gen-schema.pl b/maint/gen-schema.pl index 70e30ae..907ed11 100755 --- a/maint/gen-schema.pl +++ b/maint/gen-schema.pl @@ -4,11 +4,10 @@ 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', diff --git a/t/lib/sqlite.sql b/t/lib/sqlite.sql index 22f416c..e521a15 100644 --- a/t/lib/sqlite.sql +++ b/t/lib/sqlite.sql @@ -1,7 +1,8 @@ -- -- Created by SQL::Translator::Producer::SQLite --- Created on Sat Mar 6 11:57:45 2010 +-- Created on Sat Mar 6 18:04:27 2010 -- +; -- -- Table: artist @@ -444,4 +445,4 @@ CREATE INDEX fourkeys_to_twokeys_idx_t_artist_t_cd ON fourkeys_to_twokeys (t_art -- View: year2000cds -- CREATE VIEW year2000cds AS - SELECT cdid, artist, title, year, genreid, single_track FROM cd WHERE year = "2000" + SELECT cdid, artist, title, year, genreid, single_track FROM cd WHERE year = "2000" \ No newline at end of file