pricecharts

track prices of consumer electronics
Log | Files | Refs | README

commit 0073b9950a869612741984cb975a58955a33f7e0
parent b492c79b0aa52d1f51cdfc4bcd611ec32e2fc00d
Author: kyle <kyle@getaddrinfo.net>
Date:   Mon,  2 Nov 2015 19:41:16 -0700

turn foreign keys on

Diffstat:
MPriceSloth.pm | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/PriceSloth.pm b/PriceSloth.pm @@ -67,6 +67,7 @@ sub get_dbh "", { RaiseError => 1 } ) or die $DBI::errstr; + $dbh->do("PRAGMA foreign_keys = ON"); print "info: opened $db_dir/db\n" if ($verbose); return $dbh;