-
Notifications
You must be signed in to change notification settings - Fork 437
Open
Labels
Description
An observation regarding auditlog and Oracle DB.
Even if you are setting up auditlog for the first time and your backend database is Oracle, this issue is present when running migrate:
oracledb.exceptions.DatabaseError: ORA-01451: column to be modified to NULL cannot be modified to NULL
After some experiments I discovered that before running the migrate command, you have to setup the following variables to True (settings.py), just like your documentation says on migrating to version 3.x
AUDITLOG_TWO_STEP_MIGRATION = True
AUDITLOG_USE_TEXT_CHANGES_IF_JSON_IS_NOT_PRESENT = True
Then set them back to False (or remove them) and continue with the installation.
Thank you for this nicely made plugin !