added db migrations and group support, still problems with json serialization
This commit is contained in:
@@ -15,6 +15,6 @@ def init_db():
|
||||
# import all modules here that might define models so that
|
||||
# they will be registered properly on the metadata. Otherwise
|
||||
# you will have to import them first before calling init_db()
|
||||
import app.models.user
|
||||
import app.models.lock
|
||||
import backend.app.models.user
|
||||
import backend.app.models.lock
|
||||
metadata.create_all(bind=engine)
|
||||
|
||||
Reference in New Issue
Block a user