Files
cinder/cinder
Gorka Eguileor 1c9aac8f5d Prevent table and column alter and drop
Due to Cinder's rolling upgrade support we have to be very careful with
table drops and column alterations and drops.

In our Unit Tests legacy migrations walk, where we go through the
migrations to confirm they are properly applied, we raise an error on
those 3 operations to prevent them from being casually added in new
migrations.

Those checks are missing for the Alembic migrations, so this patch adds
them there as well while consolidating the check code for both types of
migrations into a single decorator called `prevent_drop_alter`.

Change-Id: I577f65968feb9c10488a19c6f99e8c0b720a433d
2024-01-12 11:23:58 +01:00
..
2023-12-14 16:29:27 +00:00
2021-08-27 15:13:21 +01:00
2023-12-23 22:06:55 -03:00
2023-09-14 03:26:30 +00:00
2022-02-24 15:23:38 +05:30
2023-01-18 10:20:39 -05:00
2023-12-14 16:29:27 +00:00
2022-04-12 11:03:50 +01:00
2023-12-14 16:29:27 +00:00
2021-04-20 07:49:02 +00:00
2022-05-23 11:08:25 -04:00
2023-04-11 10:50:15 -04:00
2023-12-14 16:29:27 +00:00