compress the reports :D

This commit is contained in:
aronwk-aaron
2023-11-18 05:46:50 -06:00
parent 259efc81fd
commit d005b497e6
3 changed files with 181 additions and 7 deletions

View File

@@ -7,7 +7,6 @@ import logging
from flask_sqlalchemy.query import Query
from sqlalchemy.dialects import mysql
from sqlalchemy.exc import OperationalError, StatementError
from sqlalchemy.types import JSON
from time import sleep
import random
import string
@@ -1018,7 +1017,7 @@ class Reports(db.Model):
__tablename__ = 'reports'
data = db.Column(
JSON(),
mysql.MEDIUMBLOB(),
nullable=False
)