adsms/convert.py

11 lines
171 B
Python
Raw Normal View History

2023-06-06 16:56:06 -07:00
import sqlite3
import sys
con = sqlite3.connect(sys.argv[1])
con.execute(
"ALTER TABLE subscriptions ADD COLUMN platform VARCHAR DEFAULT 'textbelt'"
)
con.commit()