[Catalyst-commits] r13242 -
trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Thu May 13 11:58:53 GMT 2010
Author: caelum
Date: 2010-05-13 12:58:52 +0100 (Thu, 13 May 2010)
New Revision: 13242
Added:
trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/myapp03.sql
Log:
add sql for created/updated columns for book table
Added: trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/myapp03.sql
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/myapp03.sql (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/myapp03.sql 2010-05-13 11:58:52 UTC (rev 13242)
@@ -0,0 +1,6 @@
+--
+-- Add 'created' and 'updated' columns to 'book' table.
+--
+ALTER TABLE book ADD created INTEGER;
+ALTER TABLE book ADD updated INTEGER;
+UPDATE book SET created = DATETIME('NOW'), updated = DATETIME('NOW');
More information about the Catalyst-commits
mailing list