Fix creating hashtag tables

This commit is contained in:
AkiraFukushima 2023-05-11 00:46:26 +09:00
parent 6722b69cbf
commit e325761a8f
No known key found for this signature in database
GPG Key ID: 4D6EFFAFF7F7FF8D
1 changed files with 1 additions and 1 deletions

View File

@ -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, \