Fix creating hashtag tables
This commit is contained in:
parent
6722b69cbf
commit
e325761a8f
|
@ -32,7 +32,7 @@ id INTEGER PRIMARY KEY, \
|
||||||
tag TEXT NOT NULL, \
|
tag TEXT NOT NULL, \
|
||||||
account_id INTEGER UNIQUE NOT NULL, \
|
account_id INTEGER UNIQUE NOT NULL, \
|
||||||
FOREIGN KEY (account_id) REFERENCES accounts(id) ON DELETE CASCADE)'
|
FOREIGN KEY (account_id) REFERENCES accounts(id) ON DELETE CASCADE)'
|
||||||
).run
|
).run()
|
||||||
db.prepare(
|
db.prepare(
|
||||||
'CREATE TABLE IF NOT EXISTS settings(\
|
'CREATE TABLE IF NOT EXISTS settings(\
|
||||||
id INTEGER PRIMARY KEY, \
|
id INTEGER PRIMARY KEY, \
|
||||||
|
|
Loading…
Reference in New Issue