Migrations create dbo.DefaultSequence when named schema is specified #1919
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
I am using multiple schemas in the database, and I have a
DbContext
for each of them.In
OnModelCreating()
I have for example the following:When I run
dnx . ef migration add Initial
, the migration code has (forUp()
):This of cause fails when having independent migrations for each of the schemas, as
dbo.DefaultSequence
can only exist once in the database.As far as I can tell, the
dbo.DefaultSequence
should not be created when a named schema is specified.The text was updated successfully, but these errors were encountered: