Afegir cartells a les jams (i esquelet per a slow jams i notes)
This commit is contained in:
10
scripts/04_add_session_notes_i_cartell.py
Normal file
10
scripts/04_add_session_notes_i_cartell.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from folkugat_web.dal.sql import get_connection
|
||||
|
||||
with get_connection() as con:
|
||||
cur = con.cursor()
|
||||
alter_query_1 = """ ALTER TABLE sessions ADD COLUMN notes TEXT """
|
||||
alter_query_2 = """ ALTER TABLE sessions ADD COLUMN cartell_url TEXT """
|
||||
_ = cur.execute(alter_query_1)
|
||||
_ = cur.execute(alter_query_2)
|
||||
|
||||
print("DONE!")
|
||||
Reference in New Issue
Block a user