8 lines
271 B
Python
8 lines
271 B
Python
from sqlalchemy import create_engine, text
|
|
|
|
engine = create_engine('sqlite:///cms.db')
|
|
with engine.connect() as conn:
|
|
conn.execute(text("ALTER TABLE columns ADD COLUMN icon_name VARCHAR(50)"))
|
|
conn.commit()
|
|
print('icon_name column added successfully')
|