forked from waifu/kemoverse
initialize last_seen_notif_id in db.py
This commit is contained in:
parent
d9027356ab
commit
e8774cb8bd
1 changed files with 3 additions and 0 deletions
3
db.py
3
db.py
|
@ -41,6 +41,9 @@ cursor.execute("""
|
|||
)
|
||||
""")
|
||||
|
||||
# Initialize essential config key
|
||||
cursor.execute('INSERT INTO config VALUES ("last_seen_notif_id", 0)')
|
||||
|
||||
""" # Insert example characters into the database if they don't already exist
|
||||
characters = [
|
||||
('Murakami-san', 1, 0.35),
|
||||
|
|
Loading…
Add table
Reference in a new issue