Reminder/database/prepare.py

11 lines
162 B
Python
Raw Normal View History

2024-10-24 19:19:30 +00:00
import sqlite3
from .db_main import UsersDB
from settings import DB_PATH
con = sqlite3.connect(DB_PATH)
db = UsersDB(con)
db._drop_tables()
db._create_table()