Initial commit

This commit is contained in:
openSIRP
2022-09-07 17:12:49 +02:00
commit b19a1150ec
14 changed files with 506 additions and 0 deletions

12
Models/Tag.py Normal file
View File

@@ -0,0 +1,12 @@
from app import db, ma
class Tag(db.Model):
__tablename__ = "tags"
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(50))
def __repr__(self):
return '<Tag %s>' % self.name