Project

General

Profile

Actions

Bug #104449

closed

Drop fields are not executed in Database Analyzer

Added by Sergio Catalá 5 days ago. Updated 2 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2024-07-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

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:

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;


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #93223: Wrong syntax for ALTER INDEX on PostgreSQLClosedStefan Bürk2021-01-05

Actions
Actions

Also available in: Atom PDF