IdentityServer / IdentityServer3.EntityFramework

EntityFramework persistence layer for IdentityServer3
Apache License 2.0
68 stars 97 forks source link

Why does the EF model error when not running as admin user? #123

Closed shuppert closed 7 years ago

shuppert commented 7 years ago

When I use a connection string with user "sa" or another user that has "dbo" permissions everything runs fine. However I run into issues when I use a non-admin user.

CREATE TABLE permission denied in database 'SSO'

The schema is already created and entries were added to __MigrationHistory. I also configured the context for Database.SetInitializer(null);

What am I missing?

shuppert commented 7 years ago

Never mind. I had the permissions setup wrong for the user.