[Bast-commits] r7197 - in
DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t: . inflate
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Tue Aug 4 19:31:17 GMT 2009
Author: caelum
Date: 2009-08-04 19:31:16 +0000 (Tue, 04 Aug 2009)
New Revision: 7197
Modified:
DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/73oracle.t
DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/inflate/datetime_oracle.t
Log:
update oracle tests for new "track" table
Modified: DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/73oracle.t
===================================================================
--- DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/73oracle.t 2009-08-04 19:10:57 UTC (rev 7196)
+++ DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/73oracle.t 2009-08-04 19:31:16 UTC (rev 7197)
@@ -64,7 +64,7 @@
$dbh->do("CREATE TABLE artist (artistid NUMBER(12), name VARCHAR(255), rank NUMBER(38), charfield VARCHAR2(10))");
$dbh->do("CREATE TABLE sequence_test (pkid1 NUMBER(12), pkid2 NUMBER(12), nonpkid NUMBER(12), name VARCHAR(255))");
$dbh->do("CREATE TABLE cd (cdid NUMBER(12), artist NUMBER(12), title VARCHAR(255), year VARCHAR(4))");
-$dbh->do("CREATE TABLE track (trackid NUMBER(12), cd NUMBER(12), position NUMBER(12), title VARCHAR(255), last_updated_on DATE, last_updated_at DATE)");
+$dbh->do("CREATE TABLE track (trackid NUMBER(12), cd NUMBER(12), position NUMBER(12), title VARCHAR(255), last_updated_on DATE, last_updated_at DATE, small_dt DATE)");
$dbh->do("ALTER TABLE artist ADD (CONSTRAINT artist_pk PRIMARY KEY (artistid))");
$dbh->do("ALTER TABLE sequence_test ADD (CONSTRAINT sequence_test_constraint PRIMARY KEY (pkid1, pkid2))");
Modified: DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/inflate/datetime_oracle.t
===================================================================
--- DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/inflate/datetime_oracle.t 2009-08-04 19:10:57 UTC (rev 7196)
+++ DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/inflate/datetime_oracle.t 2009-08-04 19:31:16 UTC (rev 7197)
@@ -42,7 +42,7 @@
eval {
$dbh->do("DROP TABLE track");
};
-$dbh->do("CREATE TABLE track (trackid NUMBER(12), cd NUMBER(12), position NUMBER(12), title VARCHAR(255), last_updated_on DATE, last_updated_at TIMESTAMP)");
+$dbh->do("CREATE TABLE track (trackid NUMBER(12), cd NUMBER(12), position NUMBER(12), title VARCHAR(255), last_updated_on DATE, last_updated_at TIMESTAMP, small_dt DATE)");
# insert a row to play with
my $new = $schema->resultset('Track')->create({ trackid => 1, cd => 1, position => 1, title => 'Track1', last_updated_on => '06-MAY-07', last_updated_at => '2009-05-03 21:17:18.5' });
More information about the Bast-commits
mailing list