from app import db
from flask.ext.login import UserMixin

class User(UserMixin, db.Model):
    __tablename__ = 'oauth2users'
    id = db.Column(db.Integer, primary_key=True)
    social_id = db.Column(db.String(64), nullable=False, unique=True)
    nickname = db.Column(db.String(64), nullable=False)
    email = db.Column(db.String(64), nullable=True)



[((6, 9, 6, 48), 'app.db.Column', 'db.Column', (), '', False, 'from app import db\n'), ((7, 26, 7, 39), 'app.db.String', 'db.String', ({(7, 36, 7, 38): '64'}, {}), '(64)', False, 'from app import db\n'), ((8, 25, 8, 38), 'app.db.String', 'db.String', ({(8, 35, 8, 37): '64'}, {}), '(64)', False, 'from app import db\n'), ((9, 22, 9, 35), 'app.db.String', 'db.String', ({(9, 32, 9, 34): '64'}, {}), '(64)', False, 'from app import db\n')]