diff --git a/models.py b/models.py index 18b8ce8..55c46ff 100644 --- a/models.py +++ b/models.py @@ -48,3 +48,12 @@ class MatrixMsgEvents(db.Model): self.pnut_msgid = pnut_msgid self.pnut_user = pnut_user self.pnut_chan = pnut_chan + +class MatrixAdminRooms(db.Model): + id = db.Column(db.Integer, primary_key=True) + matrix_id = db.Column(db.Text) + room_id = db.Column(db.Text) + + def __init__(self, matrix_id, room_id): + self.matrix_id = matrix_id + self.room_id = room_id