old_contents: 
  from flask.ext.security import UserMixin, RoleMixin
  
  from . import db
  
  
  roles_users = db.Table('roles_users',
      db.Column('user_id', db.Integer(), db.ForeignKey('user.id')),
      db.Column('role_id', db.Integer(), db.ForeignKey('role.id')))
  
  
  class Role(db.Model, RoleMixin):
  
      __tablename__ = "roles"
  
      id = db.Column(db.Integer(), primary_key=True)
      name = db.Column(db.String(80), unique=True)
      description = db.Column(db.String(255))
  
  
  class User(db.Model, UserMixin):
  
      __tablename__ = "users"
  
      id = db.Column(db.Integer, primary_key=True)
      email = db.Column(db.String(255), unique=True)
      password = db.Column(db.String(120))
      active = db.Column(db.Boolean())
      last_login_at = db.Column(db.DateTime())
      current_login_at = db.Column(db.DateTime())
      last_login_ip = db.Column(db.String(100))
      current_login_ip = db.Column(db.String(100))
      login_count = db.Column(db.Integer)
      roles = db.relationship('Role', secondary=roles_users,
                              backref=db.backref('users', lazy='dynamic'))
      connections = db.relationship('Connection',
                      backref=db.backref('user', lazy='joined'))
  
  
  class Connection(db.Model):
  
      __tablename__ = "connections"
  
      id = db.Column(db.Integer, primary_key=True)
      user_id = db.Column(db.Integer, db.ForeignKey('user.id'))
      provider_id = db.Column(db.String(255))
      provider_user_id = db.Column(db.String(255))
      access_token = db.Column(db.String(255))
      secret = db.Column(db.String(255))
      display_name = db.Column(db.String(255))
      profile_url = db.Column(db.String(512))
      image_url = db.Column(db.String(512))
      rank = db.Column(db.Integer)
  
new_contents: 
  from flask.ext.security import UserMixin, RoleMixin
  
  from . import db
  
  
  roles_users = db.Table('roles_users',
      db.Column('user_id', db.Integer(), db.ForeignKey('users.id')),
      db.Column('role_id', db.Integer(), db.ForeignKey('roles.id')))
  
  
  class Role(db.Model, RoleMixin):
  
      __tablename__ = "roles"
  
      id = db.Column(db.Integer(), primary_key=True)
      name = db.Column(db.String(80), unique=True)
      description = db.Column(db.String(255))
  
  
  class User(db.Model, UserMixin):
  
      __tablename__ = "users"
  
      id = db.Column(db.Integer, primary_key=True)
      email = db.Column(db.String(255), unique=True)
      password = db.Column(db.String(120))
      active = db.Column(db.Boolean())
      last_login_at = db.Column(db.DateTime())
      current_login_at = db.Column(db.DateTime())
      last_login_ip = db.Column(db.String(100))
      current_login_ip = db.Column(db.String(100))
      login_count = db.Column(db.Integer)
      roles = db.relationship('Role', secondary=roles_users,
                              backref=db.backref('users', lazy='dynamic'))
      connections = db.relationship('Connection',
                      backref=db.backref('user', lazy='joined'))
  
  
  class Connection(db.Model):
  
      __tablename__ = "connections"
  
      id = db.Column(db.Integer, primary_key=True)
      user_id = db.Column(db.Integer, db.ForeignKey('users.id'))
      provider_id = db.Column(db.String(255))
      provider_user_id = db.Column(db.String(255))
      access_token = db.Column(db.String(255))
      secret = db.Column(db.String(255))
      display_name = db.Column(db.String(255))
      profile_url = db.Column(db.String(512))
      image_url = db.Column(db.String(512))
      rank = db.Column(db.Integer)
  
subject: Fix models