block/bridge: refactor into general bridge block subsystem

This commit is contained in:
Iain Learmonth 2022-07-12 11:09:23 +01:00
parent 51092865a2
commit ca3fc844b7
7 changed files with 148 additions and 46 deletions

View file

@ -10,7 +10,6 @@ class BridgeConf(AbstractConfiguration):
group_id = db.Column(db.Integer, db.ForeignKey("group.id"), nullable=False)
provider = db.Column(db.String(20), nullable=False)
method = db.Column(db.String(20), nullable=False)
description = db.Column(db.String(255))
number = db.Column(db.Integer())
group = db.relationship("Group", back_populates="bridgeconfs")