Titan/webapp/titanembeds/database/cosmetics.py

7 lines
395 B
Python
Raw Normal View History

from titanembeds.database import db
class Cosmetics(db.Model):
__tablename__ = "cosmetics"
2017-06-04 07:05:55 +02:00
id = db.Column(db.Integer, primary_key=True) # Auto increment id
user_id = db.Column(db.String(255), nullable=False) # Discord user id of user of cosmetics
css = db.Column(db.Boolean(), nullable=False) # If they can create/edit custom CSS