After the bin/console doctrine:migrations:diff was created. After - bin/console doctrine:migrations:migrate
Then I had to make a change to the entity and re-do the migration with the same bin/console doctrine:migrations:diff command bin/console doctrine:migrations:diff . But for some reason I get the following errors:
An exception occurred while executing 'SELECT min_value, increment_by FROM "user_entity_id_seq"': SQLSTATE[42703]: Undefined column: 7 ERROR: column "min_value" does not exist LINE 1: SELECT min_value, increment_by FROM "user_entity_id_seq" SQLSTATE[42703]: Undefined column: 7 ERROR: column "min_value" does not exist LINE 1: SELECT min_value, increment_by FROM "user_entity_id_seq" SQLSTATE[42703]: Undefined column: 7 ERROR: column "min_value" does not exist LINE 1: SELECT min_value, increment_by FROM "user_entity_id_seq"
php bin/console doctrine migrations:version YYYYMMDDHHMMSS --deletebut I can’t find out the version because I get the same error - HegoJunedoctrine:migrations:migrate prev2. remove the php from the previous migration 3.заново bin/console doctrine:migrations:diff- Dmitry Kozlov