Reputation: 3166
Is it okay to have a table in the database that is not one of the entities when using code first with database migrations? Or will this interfere with the migrations? I want to put in a table to track some miscellaneous information.
Upvotes: 0
Views: 452
Reputation: 1636
We do this with no issues. We do add the table through the migration though so we we can ensure all developers have the same schema. If you want to skip this and go via SQL Management studio then you should have no issued either.
Sql(@"CREATE TABLE.....")
Upvotes: 2