Add missing migration for column rename of ir.model and ir.model.field

This commit is contained in:
Cédric Krier
2024-11-24 01:17:41 +01:00
parent f93146919f
commit e0eb7390ed
+14
View File
@@ -11,6 +11,20 @@ a database from another series.
.. note::
If you skip a series, all actions between them must be performed.
7.6
---
Before
~~~~~~
* Rename columns of ``ir.model`` and ``ir.model.field``:
.. code-block:: SQL
ALTER TABLE IF EXISTS "ir_model" RENAME COLUMN "name" TO "string";
ALTER TABLE IF EXISTS "ir_model" RENAME COLUMN "model" TO "name";
ALTER TABLE IF EXISTS "ir_model_field" RENAME COLUMN "field_description" TO "string";
7.4
---