Issue Bug Closed

#104449Drop fields are not executed in Database Analyzer

Sergio Catalá 07/22/24, 07:32 updated 10/15/24, 09:08

Description

After upgrading an instance from 11.5 to 12.4 (using version 12.4.17), I cannot get rid of a few Database Analyzer removed fields (see screenshot). Each time I apply the selected changes, the notification says in green it’s successful, but the fields appear again:

screenshot-example.ddev.site-2024.07.17-11_37_44.png

If I execute these two drop/rename fields from mysql console or phpmyadmin and I “Run database compare again”, then two more differences appear:

```
ALTER TABLE `sys_category` DROP `zzz_deleted_cruser_id`;
ALTER TABLE `sys_file_collection` CHANGE `cruser_id` `zzz_deleted_cruser_id` INT UNSIGNED DEFAULT 0 NOT NULL;
```

If I execute them in mysql console, other two appear:

```
ALTER TABLE `sys_file_collection` DROP `zzz_deleted_cruser_id`;
ALTER TABLE `sys_file_reference` CHANGE `cruser_id` `zzz_deleted_cruser_id` INT UNSIGNED DEFAULT 0 NOT NULL;
```

and so on…

All of them seem related to `cruser_id` removed field;

Reviews 1