model for admin rooms
This commit is contained in:
parent
e129be8c86
commit
3486c19228
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue