Split the create_database task into create_database and create_user tasks
This commit is contained in:
@@ -18,6 +18,18 @@ def create_database():
|
||||
mysql.create_database()
|
||||
|
||||
|
||||
@task
|
||||
def create_user():
|
||||
"""
|
||||
Create the Mayan EDMS user
|
||||
"""
|
||||
setup_environment()
|
||||
print(green('Creating Mayan EDMS user', bold=True))
|
||||
|
||||
if env.database_manager == DB_MYSQL:
|
||||
mysql.create_user()
|
||||
|
||||
|
||||
@task
|
||||
def drop_database():
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user