mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2024-12-28 18:36:21 +00:00
rename DB columns again!!!!!
This commit is contained in:
parent
2d0fd6ca8a
commit
5310769bf8
|
@ -87,10 +87,9 @@ class User(db.Model, UserMixin): # pylint: disable=too-few-public-methods, C010
|
||||||
id = db.Column(db.Integer, primary_key=True)
|
id = db.Column(db.Integer, primary_key=True)
|
||||||
alt_id = db.Column(db.String, unique=True, nullable=False, default=str(uuid4()))
|
alt_id = db.Column(db.String, unique=True, nullable=False, default=str(uuid4()))
|
||||||
|
|
||||||
picture = db.Column(db.String, nullable=True, default=None)
|
picture = db.Column(db.String, default=None)
|
||||||
picture_colour = db.Column(db.String, nullable=True, default=None)
|
colour = db.Column(db.String, default=None)
|
||||||
banner = db.Column(db.String, nullable=True, default=None)
|
banner = db.Column(db.String, default=None)
|
||||||
bannner_colour = db.Column(db.String, nullable=True, default=None)
|
|
||||||
|
|
||||||
username = db.Column(db.String, unique=True, nullable=False)
|
username = db.Column(db.String, unique=True, nullable=False)
|
||||||
email = db.Column(db.String, unique=True, nullable=False)
|
email = db.Column(db.String, unique=True, nullable=False)
|
||||||
|
|
Loading…
Reference in a new issue