mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 01:25:16 +00:00
11 lines
254 B
Python
11 lines
254 B
Python
from redash import db
|
|
from redash import models
|
|
|
|
if __name__ == '__main__':
|
|
db.connect_db()
|
|
|
|
if not models.ActivityLog.table_exists():
|
|
print "Creating activity_log table..."
|
|
models.ActivityLog.create_table()
|
|
|
|
db.close_db(None) |