🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-15 07:51:17 | PHP 8.1.34
📂
/ (Root)
/
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
defence360agent
/
migrations
📍 /opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/migrations
🔄 Refresh
✏️
Editing: 170_add_db_fields_to_malware_history.py
Read Only
from peewee import CharField def migrate(migrator, *_, fake=False, **__): malware_history = migrator.orm["malware_history"] migrator.add_fields( malware_history, db_host=CharField(null=True), db_port=CharField(null=True), db_name=CharField(null=True), ) def rollback(migrator, *_, fake=False, **__): malware_history = migrator.orm["malware_history"] migrator.remove_fields(malware_history, "db_host", "db_port", "db_name")
💾 Save Changes
❌ Cancel