1
This commit is contained in:
11
Yes.Infrastructure/Migrator/Providers/IMigratorProvider.cs
Normal file
11
Yes.Infrastructure/Migrator/Providers/IMigratorProvider.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Yes.Infrastructure.Migrator.Providers
|
||||
{
|
||||
public interface IMigratorProvider : IScoped
|
||||
{
|
||||
void MigrateUp(DatabaseTypeEnum databaseType, string connectionString);
|
||||
|
||||
void MigrateUp(long? version = null, bool ensureDatabase = false);
|
||||
|
||||
void MigrateDown(long version);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user