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

Migrations: Handle adding required properties #2519

Merged
merged 2 commits into from
Jul 3, 2015
Merged

Migrations: Handle adding required properties #2519

merged 2 commits into from
Jul 3, 2015

Conversation

bricelam
Copy link
Contributor

@bricelam bricelam commented Jul 1, 2015

Fixes #1275

@ajcvickers
Copy link
Member

:shipit:

Per the notes on the bug, this will only generate CreateSchema (not DropSchema) calls. CreateSchema is now behaves more like "EnsureSchema". We'll discuss the name during API Review.

Other minor changes:
* Use OBJECT_ID to check if tables exist
* Use EXEC instead of sp_executesql
* Use nchar literals where appropriate

Fixes #948 & fixes #2112
@bricelam bricelam merged commit 7ad1e6a into dotnet:dev Jul 3, 2015
@bricelam bricelam deleted the default branch July 3, 2015 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants