Skip to content

Commit

Permalink
switch on FK because we need it
Browse files Browse the repository at this point in the history
  • Loading branch information
bgol committed Nov 21, 2014
1 parent 313fc62 commit 842c3ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc/gen_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def exportTables(dbFilename, exportPath, exportTable=None, quiet=True, debug=0):
if not quiet: print("Using database '{}'".format(dbFilename))
conn = sqlite3.connect(str(dbFilename))
conn.row_factory = sqlite3.Row
conn.execute("PRAGMA foreign_keys=ON")

# for some tables the first two columns will be reversed
reverseList = [ 'AltItemNames',
Expand Down

0 comments on commit 842c3ef

Please sign in to comment.