mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
10 lines
317 B
Python
10 lines
317 B
Python
from redash import settings
|
|
from redash.models import db, Change, AccessPermission
|
|
from playhouse.migrate import PostgresqlMigrator, migrate
|
|
|
|
if __name__ == '__main__':
|
|
if not Change.table_exists():
|
|
Change.create_table()
|
|
if not AccessPermission.table_exists():
|
|
AccessPermission.create_table()
|