-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Unable to apply OC DataMigration in new environment after upgrade to OC 1.7.0 #14930
Comments
I am confused by the repro that states "new environment". Is it migrating a site from 1.5 to 1.7 or creating a new site on 1.7? |
Sorry for the confusion. The scenario is creating a new site on 1.7. |
Creating a new site from 1.7 works, unless you can provide more detailed steps. We have functional tests for all the recipes we ship. |
@jsquared2 is this still an issue or can we close this issue? |
I think it can be closed for now, thanks. |
Describe the bug
This issue manifests after upgrade from OC 1.5.0 to 1.7.0. When starting the application on a new environment (new database and no site configurations) the
Document
table is created withId
column of data typeint
instead oflong
.This results in a failure to apply OC
DataMigration
involving creation of tables that have aDocumentId
foreign key column of data typelong
that references theDocument.Id
column.We can work around this issue by defaulting the
IdentityColumnSize
configuration toInt64
inShellSettingsExtensions.cs
.This issue is related to #14929 and is manifested when the workaround for that issue is applied.
To Reproduce
Steps to reproduce the behavior:
DataMigration
.Expected behavior
All OC
DataMigration
are applied.Screenshots
`
The text was updated successfully, but these errors were encountered: