Merge branch 'feature/backup' of github.com:ONLYOFFICE/AppServer into feature/backup

This commit is contained in:
Tatiana Lopaeva 2021-06-02 14:07:45 +03:00
commit d8dc1d75ad

View File

@ -20,6 +20,14 @@ namespace ASC.Data.Backup.EF.Context
: base(options) : base(options)
{ {
} }
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
ModelBuilderWrapper
.From(modelBuilder, Provider)
.AddDbTenant()
.AddDbTariff();
}
} }
public static class BackupsContextExtension public static class BackupsContextExtension