@@ -0,0 +1,663 @@
+# from%0A#%0A# class User(UserMixin, db.Model):%0A#%0A#     __tablename__ = 'users'%0A#%0A#     id = db.Column(db.Integer, primary_key=True)%0A#     username = db.Column(db.String(64), nullable=False, unique=True)%0A#     social_id = db.Column(db.String(64), nullable=False, unique=True)%0A#     nickname = db.Column(db.String(64), nullable=False)%0A#     email = db.Column(db.String(64), nullable=True)%0A#%0A#     def __init__(self, username, social_id, nickname, email=None):%0A#         self.username = username%0A#         self.social_id = social_id%0A#         self.email = email%0A#         self.nickname = nickname%0A#%0A#     def __repr__(self):%0A#         return '%7B0%7D'.format(self.username)

Move User model to models.py.