def run(self, name, password, email):
    user = User()
    user.name = name
    user.hash_pass = generate_password_hash(password)
    user.email = email
    db.session.add(user)
    db.session.commit()
def run(self, name, password, email):
    user = User()
    user.name = name
    user.hash_pass = generate_password_hash(password)
    user.email = email
    db.session.add(user)
    db.session.commit()