Commit b0da22c2 by 赵宇

fix

parent 1bf61383
......@@ -64,6 +64,6 @@ class ProductionConfig(Config):
config_map = {
'develop': DevelopmentConfig,
# 'product': ProductionConfig,
# 'develop': DevelopmentConfig,
'product': ProductionConfig,
}
\ No newline at end of file
......@@ -5,8 +5,8 @@ from flask_migrate import Migrate, MigrateCommand
from apps.models import *
app = creat_app('develop')
# app = creat_app('product')
# app = creat_app('develop')
app = creat_app('product')
manager = Manager(app)
Migrate(app, db)
manager.add_command('db', MigrateCommand)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment