This repository has been archived on 2023-02-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
flamenco-manager/flamenco/server/application/modules/settings/model.py
T
2015-05-26 10:44:48 -03:00

15 lines
408 B
Python

from application import db
class Setting(db.Model):
"""General flamenco settings
At the moment the structure of this table is very generic. This could
even be turned into a config file later on.
"""
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(128))
value = db.Column(db.String(128))
def __repr__(self):
return '<Setting %r>' % self.name