Commit 5587c8a1 authored by Leon Tappe's avatar Leon Tappe 🔥
Browse files

change value to TEXT to allow longer strings

parent 7b5fe38f
...@@ -61,7 +61,7 @@ class Color(db.Model): ...@@ -61,7 +61,7 @@ class Color(db.Model):
class Setting(db.Model): class Setting(db.Model):
id = db.Column(db.Integer, primary_key=True) id = db.Column(db.Integer, primary_key=True)
key = db.Column(db.String(50), unique=True) key = db.Column(db.String(50), unique=True)
value = db.Column(db.String(50), unique=False) value = db.Column(db.Text, unique=False)
class OAuth2Client(db.Model, OAuth2ClientMixin): class OAuth2Client(db.Model, OAuth2ClientMixin):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment