📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-03 16:39:52
📂
/ (Root)
/
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
defence360agent
/
migrations
📍 /opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/migrations
🔄 Refresh
✏️
Editing: 188_add_protection_status_field_myimunify.py
Read Only
from peewee import BooleanField, CharField, Model class MyImunify(Model): class Meta: db_table = "myimunify" user = CharField(unique=True) protection = BooleanField(null=False, default=False) def migrate(migrator, _db, fake=False, **__): if fake: return migrator.create_model(MyImunify) def rollback(migrator, _db, fake=False, **__): if fake: return migrator.remove_model(MyImunify)
💾 Save Changes
❌ Cancel