Fix #33 bug, thinking all users are anon
Fix bug in vagrantfile Fix bug in db create/drop Fix typo in cli
This commit is contained in:
parent
c2404760b8
commit
863de00a14
6 changed files with 15 additions and 17 deletions
|
@ -1,14 +1,10 @@
|
|||
import json
|
||||
from sqlalchemy import not_, and_
|
||||
from sqlalchemy.ext.declarative import declarative_base
|
||||
from datetime import datetime
|
||||
from realms import db
|
||||
from .hook import HookModelMeta, HookMixin
|
||||
|
||||
Base = declarative_base(metaclass=HookModelMeta, cls=HookMixin)
|
||||
|
||||
|
||||
class Model(Base):
|
||||
class Model(db.Model):
|
||||
"""Base SQLAlchemy Model for automatic serialization and
|
||||
deserialization of columns and nested relationships.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue