📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-29 15:07:49
📂
/
/
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
defence360agent
/
migrations
✏️
Editing: 095_add_total_malicious_field.py
import peewee as pw def migrate(migrator, database, fake=False, **kwargs): MalwareScan = migrator.orm["malware_scans"] migrator.add_fields( MalwareScan, total_malicious=pw.IntegerField(null=False, default=0), ) def rollback(migrator, database, fake=False, **kwargs): MalwareScan = migrator.orm["malware_scans"] migrator.remove_fields(MalwareScan, "total_malicious")
💾 Save Changes
❌ Cancel