Skip to content
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

Add unit test to check for pending schema changes #4934

Closed
chenriksson opened this issue Oct 31, 2017 · 3 comments
Closed

Add unit test to check for pending schema changes #4934

chenriksson opened this issue Oct 31, 2017 · 3 comments

Comments

@chenriksson
Copy link
Member

Suggested by @joelverhagen to keep migrations and schema changes in sync

Should be possible to programmatically create migration and check. See:

@skofman1
Copy link
Contributor

skofman1 commented Jan 5, 2018

@chenriksson , which DB do we want to test this on?

@chenriksson
Copy link
Member Author

@skofman1 This isn't testing migrations against a DB instance. The test would check if EF would detect schema changes if a new migration were added... comparing the source code against the latest EF migration snapshot.

Will keep, but put at P3

@chenriksson chenriksson removed their assignment May 16, 2018
joelverhagen added a commit that referenced this issue May 8, 2019
joelverhagen added a commit that referenced this issue May 8, 2019
joelverhagen added a commit that referenced this issue May 8, 2019
joelverhagen added a commit to NuGet/ServerCommon that referenced this issue May 8, 2019
@joelverhagen joelverhagen self-assigned this May 8, 2019
@joelverhagen joelverhagen added this to the S152 - 2019.04.22 milestone May 8, 2019
joelverhagen added a commit to NuGet/ServerCommon that referenced this issue May 8, 2019
@joelverhagen
Copy link
Member

Done on gallery DB, support requests DB, and validation DB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants