mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
70d545410d
Also moved old migrations to old_migrations folder (before deleting them entirely).
9 lines
212 B
Python
9 lines
212 B
Python
from redash.models import db, Alert, AlertSubscription
|
|
|
|
if __name__ == '__main__':
|
|
with db.database.transaction():
|
|
Alert.create_table()
|
|
AlertSubscription.create_table()
|
|
|
|
db.close_db(None)
|