This commit is contained in:
joyfuI
2020-02-10 22:34:22 +09:00
parent 847ab7fb7d
commit 39a2867d31
4 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ class ModelSetting(db.Model):
id = db.Column(db.Integer, primary_key=True)
key = db.Column(db.String(100), unique=True, nullable=False)
value = db.Column(db.String, nullable=False)
def __init__(self, key, value):
self.key = key
self.value = value