Skip to content

Commit

Permalink
add PRAGMA foreign_keys = ON; to the DDL
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Kitover committed Feb 2, 2010
1 parent e586b5f commit c5b13dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod
Expand Up @@ -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
--
Expand Down
1 change: 1 addition & 0 deletions lib/Catalyst/Manual/Tutorial/05_Authentication.pod
Expand Up @@ -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
--
Expand Down

0 comments on commit c5b13dd

Please sign in to comment.