Change User.locale default to None

This commit is contained in:
rubenwardy 2022-01-25 01:33:13 +00:00
parent 95b3c66366
commit 7aac597216

@ -148,7 +148,7 @@ class User(db.Model, UserMixin):
email = db.Column(db.String(255), nullable=True, unique=True)
email_confirmed_at = db.Column(db.DateTime(), nullable=True, server_default=None)
locale = db.Column(db.String(10), nullable=True, default="")
locale = db.Column(db.String(10), nullable=True, default=None)
# User information
profile_pic = db.Column(db.String(255), nullable=True, server_default=None)