lock getting char_xml behind gm 9

This commit is contained in:
Aaron Kimbre 2022-02-02 21:21:19 -06:00
parent 0066e0ea2d
commit c6d624e154

View File

@ -1010,3 +1010,21 @@ class Reports(db.Model):
def delete(self):
db.session.delete(self)
db.session.commit()
class Audit(db.Model):
__tablename__ = 'audit'
data = db.Column(
JSON(),
nullable=False,
primary_key=True
)
def save(self):
db.session.add(self)
db.session.commit()
db.session.refresh(self)
def delete(self):
db.session.delete(self)
db.session.commit()