mirror of https://github.com/abpframework/abp.git
2 changed files with 26 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
|
||||
|
namespace Volo.Abp.MultiTenancy |
||||
|
{ |
||||
|
public class NullTenantDatabaseSchemaMigrator : ITenantDatabaseSchemaMigrator, ISingletonDependency |
||||
|
{ |
||||
|
public Task MigrateAsync() |
||||
|
{ |
||||
|
return Task.CompletedTask; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,13 @@ |
|||||
|
using System.Threading.Tasks; |
||||
|
|
||||
|
namespace Volo.Abp.MultiTenancy |
||||
|
{ |
||||
|
public interface ITenantDatabaseSchemaMigrator |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Set Current Tenant before calling this method.
|
||||
|
/// </summary>
|
||||
|
/// <returns></returns>
|
||||
|
Task MigrateAsync(); |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue