You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-11-27 22:18:22 +02:00
Fix remaining migration scripts and remove initdb/flushdb from manage.py
This commit is contained in:
@@ -1,23 +1,6 @@
|
||||
from mailu import app, manager, db
|
||||
from mailu.admin import models
|
||||
|
||||
import flask_migrate
|
||||
|
||||
|
||||
@manager.command
|
||||
def flushdb():
|
||||
""" Flush the database
|
||||
"""
|
||||
db.drop_all()
|
||||
|
||||
|
||||
@manager.command
|
||||
def initdb():
|
||||
""" Initialize the database
|
||||
"""
|
||||
db.create_all()
|
||||
flask_migrate.stamp(revision="head")
|
||||
|
||||
|
||||
@manager.command
|
||||
def admin(localpart, domain_name, password):
|
||||
|
||||
Reference in New Issue
Block a user