from flock import db

class User(db.Model):
	id = db.Column(db.Integer, primary_key=True)

	def __init__(self):
		pass

from flock import db

class User(db.Model):
	__tablename__ = 'users'
	id = db.Column('user_id', db.Integer, primary_key=True)

	def __init__(self):
		pass

Set users tablename and user_id name