mirror of
https://github.com/getredash/redash.git
synced 2025-12-20 01:47:39 -05:00
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)
|