-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Enable options on CREATE DATABASE statements to SQL Azure #2969
Comments
EF Team Triage: Agreed this would be good. We originally looked at moving the database creation to be an explicit API call in the first migration for this reason... but it ended up being so different from other migration operations that we abandoned that approach. We should look at making this a first class API (perhaps in OnConfiguring, or an overload of EnsureCreated and ApplyMigrations). @natemcmaster moving to backlog but perhaps you will need to tackle this for the test work you are doing. |
We discussed this again in triage and decided to close for now because:
As always, we will reconsider this with sufficient feedback, and we might consider a PR if it was well written and not intrusive on the normal experience. |
Tentatively assigned to 3.1, subject to approval. |
Related: #6577. If we add a mechanism in model builder to configure database creation options, we can eventually use it to cover aspects mentioned in that issue as well, including character set, collation, elastic search options, etc. We may want to consider these issues duplicates, but we are likely do some options in the short term, and then we will want an issue in the backlog for the rest. |
This is approved for 3.1. |
Enable SQL Azure users to modify the pricing tier, size, and edition options issue with
CREATE DATABASE
.Example:
The text was updated successfully, but these errors were encountered: