oroinc / oauth2-server

MIT License
2 stars 0 forks source link

Migration version V1_4 already existed results in errors #2

Open hvanoch opened 3 years ago

hvanoch commented 3 years ago

When upgrading from 4.1.x to 4.2.x we get sql errors: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.confidential' in 'field list'" This is because version V1_4 of the migration was already used. See: https://github.com/oroinc/oauth2-server/tree/4.1.8/src/Oro/Bundle/OAuth2ServerBundle/Migrations/Schema/v1_4 In version 4.2.0 there is suddenly a new file. https://github.com/oroinc/oauth2-server/tree/4.2.0/src/Oro/Bundle/OAuth2ServerBundle/Migrations/Schema/v1_4

New migrations should have a new version number.

anyt commented 3 years ago

Hi, @hvanoch. Thank you for the report! Internal ticket id #BAP-20515.