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:
Matthew Scragg 2014-11-11 11:35:09 -06:00
parent c2404760b8
commit 863de00a14
6 changed files with 15 additions and 17 deletions

View file

@ -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.