Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. import db
  2.  
  3. """Basic representation of a user in the SSO system"""
  4. class User(db.Model):
  5.     TABLE = "sso_user"
  6.        
  7.     id = db.PrimaryKey()
  8.     username = db.Column()
  9.     password = db.Column()
  10.     nickname = db.Column()
  11.     admin = db.Column(default=False)
  12.     sid = db.Column()
  13.     banned = db.Column()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement