예제 #1
0
from acm_phoenix import db, create_app
app = create_app('config.DevelopmentConfig')
db.drop_all(app=app)
db.create_all(app=app)
exit()
예제 #2
0
from acm_phoenix import db
db.drop_all()
db.create_all()
exit()