netmash/infrastructure/NDB.Infrastructure.Database.../Repositories/IMigrationRepository.cs

15 lines
510 B
C#
Raw Normal View History

using NDB.Infrastructure.DatabaseMigration.Constants;
using NDB.Infrastructure.DatabaseMigration.Entities;
using System.Threading.Tasks;
2022-01-21 11:19:51 +02:00
namespace NDB.Infrastructure.DatabaseMigration.Repositories
{
internal interface IMigrationRepository
2022-01-21 11:19:51 +02:00
{
2022-01-22 01:54:19 +02:00
Task ExecuteSqlRaw(string sqlRaw);
Task<bool> MigrationTablesAreSet(DatabaseType databaseType);
Task<MigrationSignature> GetLastMigrationSignature();
Task AddMigrationSignature(MigrationSignature migrationSignature);
2022-01-21 11:19:51 +02:00
}
}