Spaces:
Running
Running
Commit ·
197e7c5
1
Parent(s): aea9d7d
Fix schema drift renames to target actual Customer model fields
Browse filesSCHEMA_DRIFT_RENAMES referenced non-existent fields (email, address,
phone, id). Updated to use real Customer model fields: contact_email,
region, tier, notes.
sentinelops_arena/demo.py
CHANGED
|
@@ -124,10 +124,10 @@ class RandomizedAttacker:
|
|
| 124 |
|
| 125 |
SCHEMA_DRIFT_RENAMES = [
|
| 126 |
{"old_field": "name", "new_field": "full_name"},
|
| 127 |
-
{"old_field": "
|
| 128 |
-
{"old_field": "
|
| 129 |
-
{"old_field": "
|
| 130 |
-
{"old_field": "
|
| 131 |
]
|
| 132 |
|
| 133 |
POLICY_DRIFT_CHANGES = [
|
|
|
|
| 124 |
|
| 125 |
SCHEMA_DRIFT_RENAMES = [
|
| 126 |
{"old_field": "name", "new_field": "full_name"},
|
| 127 |
+
{"old_field": "contact_email", "new_field": "email_address"},
|
| 128 |
+
{"old_field": "region", "new_field": "geo_region"},
|
| 129 |
+
{"old_field": "tier", "new_field": "membership_level"},
|
| 130 |
+
{"old_field": "notes", "new_field": "annotations"},
|
| 131 |
]
|
| 132 |
|
| 133 |
POLICY_DRIFT_CHANGES = [
|