from app import db
#from plugins.plant.models import Plant

# plant_tags = db.Table(
#     'plant_tags',
#     db.metadata,
#     db.Column('plant_id', db.Integer, db.ForeignKey('plant.id'), primary_key=True),
#     db.Column('tag_id', db.Integer, db.ForeignKey('tags.id'), primary_key=True),
#     extend_existing=True
# )

# class Tag(db.Model):
#     __tablename__ = 'tags'
#     __table_args__ = {'extend_existing': True}
    
#     id = db.Column(db.Integer, primary_key=True)
#     name = db.Column(db.String(100), unique=True, nullable=False)
