From ba0c4801dfb5b46d17278a3604cd8c02a7fddc61 Mon Sep 17 00:00:00 2001 From: Aaron Kimbre Date: Fri, 4 Feb 2022 09:55:32 -0600 Subject: [PATCH] remove Audit model --- app/models.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/app/models.py b/app/models.py index b24764b..b003014 100644 --- a/app/models.py +++ b/app/models.py @@ -1010,21 +1010,3 @@ 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()