From: Peter Rabbitson Date: Tue, 25 Aug 2009 10:37:48 +0000 (+0000) Subject: Change a datatype for test purposes X-Git-Tag: v0.08111~50^2~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c1d7087df7d5e1fd64133a1dc6ef63371faec324;p=dbsrgits%2FDBIx-Class.git Change a datatype for test purposes --- diff --git a/t/lib/DBICTest/Schema/Track.pm b/t/lib/DBICTest/Schema/Track.pm index a6de595..d7ba952 100644 --- a/t/lib/DBICTest/Schema/Track.pm +++ b/t/lib/DBICTest/Schema/Track.pm @@ -14,7 +14,7 @@ __PACKAGE__->add_columns( data_type => 'integer', }, 'position' => { - data_type => 'integer', + data_type => 'int', accessor => 'pos', }, 'title' => { diff --git a/t/lib/sqlite.sql b/t/lib/sqlite.sql index 1938e87..a160193 100644 --- a/t/lib/sqlite.sql +++ b/t/lib/sqlite.sql @@ -1,6 +1,6 @@ -- -- Created by SQL::Translator::Producer::SQLite --- Created on Thu Aug 20 07:47:13 2009 +-- Created on Tue Aug 25 12:34:34 2009 -- @@ -283,7 +283,7 @@ CREATE INDEX self_ref_alias_idx_self_ref ON self_ref_alias (self_ref); CREATE TABLE track ( trackid INTEGER PRIMARY KEY NOT NULL, cd integer NOT NULL, - position integer NOT NULL, + position int NOT NULL, title varchar(100) NOT NULL, last_updated_on datetime, last_updated_at datetime,