2015-07-09 05:38:42 +00:00
|
|
|
from redash.models import db, Alert, AlertSubscription
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
with db.database.transaction():
|
2016-02-29 09:58:19 +00:00
|
|
|
Alert.create_table()
|
|
|
|
AlertSubscription.create_table()
|
2015-07-09 05:38:42 +00:00
|
|
|
|
|
|
|
db.close_db(None)
|