[Bast-commits] r4920 - DBIx-Class/0.08/trunk/t
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Sun Oct 12 22:56:50 BST 2008
Author: ribasushi
Date: 2008-10-12 22:56:50 +0100 (Sun, 12 Oct 2008)
New Revision: 4920
Modified:
DBIx-Class/0.08/trunk/t/72pg.t
Log:
Fix omission in pg test
Modified: DBIx-Class/0.08/trunk/t/72pg.t
===================================================================
--- DBIx-Class/0.08/trunk/t/72pg.t 2008-10-12 21:54:53 UTC (rev 4919)
+++ DBIx-Class/0.08/trunk/t/72pg.t 2008-10-12 21:56:50 UTC (rev 4920)
@@ -50,7 +50,7 @@
{
local $SIG{__WARN__} = sub {};
$dbh->do("CREATE SCHEMA testschema;");
- $dbh->do("CREATE TABLE testschema.artist (artistid serial PRIMARY KEY, name VARCHAR(100), charfield CHAR(10));");
+ $dbh->do("CREATE TABLE testschema.artist (artistid serial PRIMARY KEY, name VARCHAR(100), rank INTEGER NOT NULL DEFAULT '13', charfield CHAR(10));");
$dbh->do("CREATE TABLE testschema.sequence_test (pkid1 integer, pkid2 integer, nonpkid integer, name VARCHAR(100), CONSTRAINT pk PRIMARY KEY(pkid1, pkid2));");
$dbh->do("CREATE SEQUENCE pkid1_seq START 1 MAXVALUE 999999 MINVALUE 0");
$dbh->do("CREATE SEQUENCE pkid2_seq START 10 MAXVALUE 999999 MINVALUE 0");
@@ -81,6 +81,13 @@
'size' => 100,
'default_value' => undef,
},
+ 'rank' => {
+ 'data_type' => 'integer',
+ 'is_nullable' => 0,
+ 'size' => 4,
+ 'default_value' => 13,
+
+ },
'charfield' => {
'data_type' => 'character',
'is_nullable' => 1,
More information about the Bast-commits
mailing list