aboutsummaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test.py')
-rwxr-xr-xtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.py b/test.py
index 84c230b..44333c6 100755
--- a/test.py
+++ b/test.py
@@ -5,7 +5,7 @@ import sqlite3
con = sqlite3.connect("test.db")
con.execute("PRAGMA journal_mode=wal")
cur = con.cursor()
-cur.execute("CREATE TABLE cards (idx INTEGER PRIMARY KEY, weight INTEGER, key STRING, val STRING)")
+cur.execute("CREATE TABLE cards (idx INTEGER PRIMARY KEY, weight INTEGER, key TEXT, val TEXT)")
for i in range(10**8):
cur.execute("INSERT INTO cards VALUES(?, ?, ?, ?)", (i, 1, i, i))
con.commit()