add PRAGMA foreign_keys = ON; to the DDL
Rafael Kitover [Tue, 2 Feb 2010 08:36:25 +0000 (08:36 +0000)]
lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod
lib/Catalyst/Manual/Tutorial/05_Authentication.pod

index 46e209a..ae57b39 100644 (file)
@@ -567,6 +567,7 @@ SQLite (L<http://www.sqlite.org>), a popular database that is
 lightweight and easy to use. Be sure to get at least version 3. Open
 C<myapp01.sql> in your editor and enter:
 
+    PRAGMA foreign_keys = ON;
     --
     -- Create a very simple database to hold book and author information
     --
index 62dab98..aa0c386 100644 (file)
@@ -81,6 +81,7 @@ add the role information here although it will not be used until the
 authorization section, Chapter 6).  Create a new SQL script file by opening
 C<myapp02.sql> in your editor and insert:
 
+    PRAGMA foreign_keys = ON;
     --
     -- Add user and role tables, along with a many-to-many join table
     --