huesoporro/migrations/20250226120422_rename_settings_to_chatbot.py
cătălin 152546982c
refactor: many changes
- Add missing actions and make a clear boundary between actions,
  services and nfra (i.e: actions shouldn't use stuff from infra/)
- Delete stuff not in use: tts, gtts, etc
- Add a ton of tests
2025-03-05 11:34:44 +01:00

19 lines
346 B
Python

"""
This module contains a Caribou migration.
Migration Name: rename_settings_to_chatbot
Migration Version: 20250226120422
"""
def upgrade(connection):
sql = """
ALTER TABLE settings RENAME TO chatbot;
"""
connection.execute(sql)
connection.commit()
def downgrade(connection):
# add your downgrade step here
pass