Add a field to Category and CategoryTemplate Tables

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
Using v2.7

I want to add a field called, "FeaturedDisplayOrder" to the Category and CategoryTemplate tables.

Is there a way to enable automatic migrations of the changed category and category template classes to append the new field to the tables?

I attempted to do this in NuGet Package Manager, but got the following error message:

PM> Enable-Migrations -EnableAutomaticMigrations
No context type was found in the assembly 'Nop.Web'.


Thanks,

Ian
7 years ago
Any luck? I've got same problem and can't figure out what's wrong. I tried to specify explicitly ContextTypeName, set my plugin's project as default one - same error.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.