[4.1.x] Fixed #33789 -- Doc'd changes in quoting table/column names on Oracle in Django 4.0.

Thanks Paul in 't Hout for the report.

Regression in 1f643c28b5.
Backport of a0608c4b11 from main
This commit is contained in:
Mariusz Felisiak 2022-06-21 09:09:41 +02:00
parent 99e5ce96c6
commit 91b365ef67
1 changed files with 9 additions and 0 deletions

View File

@ -492,6 +492,15 @@ some cases.
consequence, any custom deletion logic in ``delete()`` handlers should be consequence, any custom deletion logic in ``delete()`` handlers should be
moved to ``form_valid()``, or a shared helper method, if required. moved to ``form_valid()``, or a shared helper method, if required.
Table and column naming scheme changes on Oracle
------------------------------------------------
Django 4.0 inadvertently changed the table and column naming scheme on Oracle.
This causes errors for models and fields with names longer than 30 characters.
Unfortunately, renaming some Oracle tables and columns is required. Use the
upgrade script in :ticket:`33789 <33789#comment:15>` to generate ``RENAME``
statements to change naming scheme.
Miscellaneous Miscellaneous
------------- -------------