please i have nop v 4.30 and now i need to add 3 tables in database - i try to do it via IMigrationManager but nothing happen and no error but database not has any new table ?
i have did this steps:
1. create class i need in domain folder as example "DirectorsBoard" class.
2. add migration class inside migration folder as code below
class AddDirectorsBoardTable : AutoReversingMigration
{
private readonly IMigrationManager _migrationManager;
public AddDirectorsBoardTable(IMigrationManager migrationManager)
{
_migrationManager = migrationManager;
}
/// <summary>Collect the UP migration expressions</summary>
public override void Up()
{
_migrationManager.BuildTable<DirectorsBoard>(Create);
}
}
3. now i have add this part of code inside "ApplicationBuilderExtensions.cs" before this line "pluginService.UpdatePlugins();"
var migrationManager = engine.Resolve<IMigrationManager>();
migrationManager.ApplyUpMigrations();
4. now i run the project no errors but nothing added to my database ?
so please how i can get this works (hope to know full steps) ?
thanks a lot ...