Fix: move the groups creation to init function

This commit is contained in:
Arik Fraimovich
2014-05-13 16:47:58 +03:00
parent e499e8099d
commit 772ea94b59
2 changed files with 6 additions and 6 deletions

View File

@@ -66,9 +66,10 @@ def check_settings():
@database_manager.command
def create_tables():
"""Creates the database tables."""
from redash.models import create_db
from redash.models import create_db, init_db
create_db(True, False)
init_db()
@database_manager.command
def drop_tables():