Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Current beta tries to delete DB-tables #5391

Open
1 task done
c4ll-m3-j4ck opened this issue Dec 3, 2024 · 0 comments · May be fixed by #5394
Open
1 task done

BUG: Current beta tries to delete DB-tables #5391

c4ll-m3-j4ck opened this issue Dec 3, 2024 · 0 comments · May be fixed by #5394
Labels

Comments

@c4ll-m3-j4ck
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When using the doctrine:migrationgenerate command in the current beta (beta16), several statements are added which delete database-tables required by neos.

The following statements are added to every migration:

        $this->addSql('DROP TABLE neos_asset_usage');
        $this->addSql('DROP TABLE neos_neos_workspace_metadata');
        $this->addSql('DROP TABLE neos_neos_workspace_role');
        $this->addSql('ALTER TABLE neos_media_domain_model_tag DROP FOREIGN KEY FK_CA4889693D8E604F');
        $this->addSql('ALTER TABLE neos_media_domain_model_tag ADD CONSTRAINT FK_CA4889693D8E604F FOREIGN KEY (parent) REFERENCES neos_media_domain_model_tag (persistence_object_identifier) ON DELETE SET NULL');

Running a migration which contains this commands breaks the installation because of missing tables.

Expected Behavior

The statements should not be added.

Steps To Reproduce

No response

Environment

- Flow: 9.0.0-beta16
- Neos: 9.0.0-beta16
- PHP: 8.3

Anything else?

No response

mhsdesign added a commit to mhsdesign/neos-development-collection that referenced this issue Dec 4, 2024
@mhsdesign mhsdesign moved this to In Progress 🚧 in Neos 9.0 Release Board Dec 4, 2024
@mhsdesign mhsdesign moved this from In Progress 🚧 to Blocked in Neos 9.0 Release Board Dec 7, 2024
@mhsdesign mhsdesign moved this from Blocked to Under Review 👀 in Neos 9.0 Release Board Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Under Review 👀
1 participant