[Bast-commits] r9569 - DBIx-Class/0.08/trunk/t/lib

ribasushi at dev.catalyst.perl.org ribasushi at dev.catalyst.perl.org
Thu Jun 3 09:55:38 GMT 2010


Author: ribasushi
Date: 2010-06-03 10:55:38 +0100 (Thu, 03 Jun 2010)
New Revision: 9569

Modified:
   DBIx-Class/0.08/trunk/t/lib/sqlite.sql
Log:
Test schema redump

Modified: DBIx-Class/0.08/trunk/t/lib/sqlite.sql
===================================================================
--- DBIx-Class/0.08/trunk/t/lib/sqlite.sql	2010-06-03 09:54:54 UTC (rev 9568)
+++ DBIx-Class/0.08/trunk/t/lib/sqlite.sql	2010-06-03 09:55:38 UTC (rev 9569)
@@ -1,8 +1,7 @@
 -- 
 -- Created by SQL::Translator::Producer::SQLite
--- Created on Mon Mar 22 11:08:33 2010
+-- Created on Thu Jun  3 11:52:50 2010
 -- 
-;
 
 --
 -- Table: artist
@@ -10,7 +9,7 @@
 CREATE TABLE artist (
   artistid INTEGER PRIMARY KEY NOT NULL,
   name varchar(100),
-  rank integer NOT NULL DEFAULT '13',
+  rank integer NOT NULL DEFAULT 13,
   charfield char(10)
 );
 
@@ -248,6 +247,8 @@
 
 CREATE INDEX books_idx_owner ON books (owner);
 
+CREATE UNIQUE INDEX books_title ON books (title);
+
 --
 -- Table: employee
 --
@@ -456,4 +457,4 @@
 -- View: year2000cds
 --
 CREATE VIEW year2000cds AS
-    SELECT cdid, artist, title, year, genreid, single_track FROM cd WHERE year = "2000"
\ No newline at end of file
+    SELECT cdid, artist, title, year, genreid, single_track FROM cd WHERE year = "2000";




More information about the Bast-commits mailing list