Part-DB-server icon indicating copy to clipboard operation
Part-DB-server copied to clipboard

ran "php bin/console doctrine:migrations:migrate" got folling errors and DB quit working

Open Bluelavasystems opened this issue 9 months ago • 2 comments

ran php bin/console doctrine:migrations:migrate got errors and DB quit working

Image

Bluelavasystems avatar Mar 29 '25 19:03 Bluelavasystems

Interestingly your database seems to be more strict, than every i have tested so far. I have changed the line which i supsect is the problem here, to a more strict SQL compliant version, so this should hopeful be fixed.

You can test the master branch.

jbtronics avatar Mar 29 '25 20:03 jbtronics

Have you correctly referenced your MariaDB instance in .env.local? It says you were about to execute the migration on database "main" which is the default on SQLite...

This looks quite similar to #871 in the course of which @jbtronics changed the migration (467d50b) which failed here. I suppose the migration is inadvertently executed on an SQLite prior to 3.35 which doesn't support dropping columns. #1003 could then describe the same issue (but the author intentionally used SQLite).

d-buchmann avatar Sep 04 '25 12:09 d-buchmann