Add helpers.py
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
def create_db(db):
|
||||||
|
# Create table storing calendar events
|
||||||
|
db.execute("""
|
||||||
|
CREATE TABLE IF NOT EXISTS events (
|
||||||
|
name TEXT NOT NULL,
|
||||||
|
description TEXT NOT NULL,
|
||||||
|
time DATETIME NOT NULL
|
||||||
|
length INT NOT NULL,);
|
||||||
|
""")
|
||||||
Reference in New Issue
Block a user