11 lines
171 B
Python
11 lines
171 B
Python
|
import sqlite3
|
||
|
import sys
|
||
|
|
||
|
con = sqlite3.connect(sys.argv[1])
|
||
|
|
||
|
con.execute(
|
||
|
"ALTER TABLE subscriptions ADD COLUMN platform VARCHAR DEFAULT 'textbelt'"
|
||
|
)
|
||
|
|
||
|
con.commit()
|