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
214 B
Python
9 lines
214 B
Python
from redash.models import db, QuerySnippet
|
|
|
|
if __name__ == '__main__':
|
|
with db.database.transaction():
|
|
if not QuerySnippet.table_exists():
|
|
QuerySnippet.create_table()
|
|
|
|
db.close_db(None)
|