turn on FKs for sqlite tests
Rafael Kitover [Sat, 27 Mar 2010 18:25:08 +0000 (14:25 -0400)]
t/10sqlite_common.t

index 11b5635..8676761 100644 (file)
@@ -12,6 +12,9 @@ my $tester = dbixcsl_common_tests->new(
     dsn             => "dbi:$class:dbname=./t/sqlite_test",
     user            => '',
     password        => '',
+    connect_info_opts => {
+        on_connect_do => 'PRAGMA foreign_keys = ON',
+    },
     extra           => {
         create => [
             # 'sqlite_' is reserved, so we use 'extra_'