valdisiljuconoks / localization-provider-opti

Database driven localization provider for Optimizely (ex. Episerver) websites
Apache License 2.0
11 stars 17 forks source link

Upgrading DbLocalizationProvider.EPiServer from 7.5.0 to 8.1.2 #228

Closed baskiattila closed 2 months ago

baskiattila commented 3 months ago

Recently we tried to update DbLocalizationProvider.EPiServer package from 7.5.0 to 8.1.2, but on the next startup I got a SQL alter column error, because of the [IX_ResourceKey] index. After dropping it manually the application started and a new index with a different name was created. The new [ix_UniqueResourceKey] index has the same definition as the old one. I guess there was a change sometimes in the naming. Is it possible to drop both indexes before altering the [ResourceKey] column?

valdisiljuconoks commented 3 months ago

yeah, let me investigate more on this...

baskiattila commented 3 months ago

I retested with the 8.1.3 version, but the issue still there. I checked your commit and I think 9 change should happen before altering the column ( 8 change).

image

valdisiljuconoks commented 3 months ago

:rage-quit: