mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-07-04 20:25:25 +02:00
Moved some text fields over to longtext type (#21)
This commit is contained in:
committed by
Jeremy Zhang
parent
228ebe6684
commit
82db716b61
@ -5,7 +5,7 @@ class UserCSS(db.Model):
|
||||
id = db.Column(db.Integer, primary_key=True) # Auto increment id
|
||||
name = db.Column(db.String(255), nullable=False) # CSS Name
|
||||
user_id = db.Column(db.String(255), nullable=False) # Discord client ID of the owner of the css (can edit)
|
||||
css = db.Column(db.Text()) # CSS contents
|
||||
css = db.Column(db.Text(4294967295)) # CSS contents
|
||||
|
||||
def __init__(self, name, user_id, css=None):
|
||||
self.name = name
|
||||
|
Reference in New Issue
Block a user