diff --git a/src/cs50_final_project/helpers.py b/src/cs50_final_project/helpers.py new file mode 100644 index 0000000..899035d --- /dev/null +++ b/src/cs50_final_project/helpers.py @@ -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,); + """) \ No newline at end of file