[Bast-commits] r4177 -
branches/DBIx-Class-Schema-Loader/current/t/lib
ilmari at dev.catalyst.perl.org
ilmari at dev.catalyst.perl.org
Wed Mar 12 02:18:13 GMT 2008
Author: ilmari
Date: 2008-03-12 02:18:13 +0000 (Wed, 12 Mar 2008)
New Revision: 4177
Modified:
branches/DBIx-Class-Schema-Loader/current/t/lib/dbixcsl_common_tests.pm
Log:
Fix the CREATE TABLE statements for DB2
Modified: branches/DBIx-Class-Schema-Loader/current/t/lib/dbixcsl_common_tests.pm
===================================================================
--- branches/DBIx-Class-Schema-Loader/current/t/lib/dbixcsl_common_tests.pm 2008-03-12 01:49:17 UTC (rev 4176)
+++ branches/DBIx-Class-Schema-Loader/current/t/lib/dbixcsl_common_tests.pm 2008-03-12 02:18:13 UTC (rev 4177)
@@ -912,7 +912,7 @@
qq{
CREATE TABLE loader_test29 (
id INTEGER NOT NULL PRIMARY KEY,
- fk INTEGER UNIQUE,
+ fk INTEGER NOT NULL UNIQUE,
FOREIGN KEY (fk) REFERENCES loader_test27 (id)
) $self->{innodb}
},
@@ -930,7 +930,7 @@
CREATE TABLE loader_test32 (
id INTEGER NOT NULL PRIMARY KEY,
rel1 INTEGER NOT NULL,
- rel2 INTEGER NULL,
+ rel2 INTEGER,
FOREIGN KEY (rel1) REFERENCES loader_test31(id),
FOREIGN KEY (rel2) REFERENCES loader_test31(id)
) $self->{innodb}
@@ -950,7 +950,7 @@
CREATE TABLE loader_test34 (
id INTEGER NOT NULL PRIMARY KEY,
rel1 INTEGER NOT NULL,
- rel2 INTEGER NULL,
+ rel2 INTEGER,
FOREIGN KEY (id,rel1) REFERENCES loader_test33(id1,id2),
FOREIGN KEY (id,rel2) REFERENCES loader_test33(id1,id2)
) $self->{innodb}
More information about the Bast-commits
mailing list