mirror of
https://github.com/getredash/redash.git
synced 2025-12-23 11:23:00 -05:00
12 lines
244 B
Python
12 lines
244 B
Python
from redash.models import db
|
|
from redash import models
|
|
|
|
|
|
if __name__ == '__main__':
|
|
db.connect_db()
|
|
|
|
if not models.Event.table_exists():
|
|
print "Creating events table..."
|
|
models.Event.create_table()
|
|
|
|
db.close_db(None) |