From: Rafael Kitover Date: Sat, 27 Mar 2010 18:25:08 +0000 (-0400) Subject: turn on FKs for sqlite tests X-Git-Tag: 0.06000~22 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b308dcca0f50bb4b9f8d8ffbcb996cb4d16f2480;p=dbsrgits%2FDBIx-Class-Schema-Loader.git turn on FKs for sqlite tests --- diff --git a/t/10sqlite_common.t b/t/10sqlite_common.t index 11b5635..8676761 100644 --- a/t/10sqlite_common.t +++ b/t/10sqlite_common.t @@ -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_'