[Bast-commits] r7908 - in DBIx-Class/0.08/branches/view_rels/t/lib:
. DBICTest/Schema
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Sun Nov 15 13:17:26 GMT 2009
Author: ribasushi
Date: 2009-11-15 13:17:23 +0000 (Sun, 15 Nov 2009)
New Revision: 7908
Modified:
DBIx-Class/0.08/branches/view_rels/t/lib/DBICTest/Schema/Year2000CDs.pm
DBIx-Class/0.08/branches/view_rels/t/lib/sqlite.sql
Log:
Fix non-sqlt schema file
Modified: DBIx-Class/0.08/branches/view_rels/t/lib/DBICTest/Schema/Year2000CDs.pm
===================================================================
--- DBIx-Class/0.08/branches/view_rels/t/lib/DBICTest/Schema/Year2000CDs.pm 2009-11-15 13:11:03 UTC (rev 7907)
+++ DBIx-Class/0.08/branches/view_rels/t/lib/DBICTest/Schema/Year2000CDs.pm 2009-11-15 13:17:23 UTC (rev 7908)
@@ -8,7 +8,7 @@
# need to operate on the instance for things to work
__PACKAGE__->result_source_instance->view_definition( sprintf (
- 'SELECT %s FROM cd WHERE year ="2000"',
+ 'SELECT %s FROM cd WHERE year = "2000"',
join (', ', __PACKAGE__->columns),
));
Modified: DBIx-Class/0.08/branches/view_rels/t/lib/sqlite.sql
===================================================================
--- DBIx-Class/0.08/branches/view_rels/t/lib/sqlite.sql 2009-11-15 13:11:03 UTC (rev 7907)
+++ DBIx-Class/0.08/branches/view_rels/t/lib/sqlite.sql 2009-11-15 13:17:23 UTC (rev 7908)
@@ -1,5 +1,7 @@
--- Created on Tue Aug 25 12:34:34 2009
--
+-- Created by SQL::Translator::Producer::SQLite
+-- Created on Sun Nov 15 14:13:02 2009
+--
BEGIN TRANSACTION;
@@ -451,6 +453,6 @@
-- View: year2000cds
--
CREATE VIEW year2000cds AS
- SELECT cdid, artist, title FROM cd WHERE year ='2000';
+ SELECT cdid, artist, title, year, genreid, single_track FROM cd WHERE year = "2000";
COMMIT;
More information about the Bast-commits
mailing list