changes
This commit is contained in:
8
plugins/search/models.py
Normal file
8
plugins/search/models.py
Normal file
@ -0,0 +1,8 @@
|
||||
from app import db
|
||||
|
||||
class Tag(db.Model):
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
name = db.Column(db.String(64), unique=True, nullable=False)
|
||||
|
||||
def __repr__(self):
|
||||
return f"<Tag {self.name}>"
|
Reference in New Issue
Block a user