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