netmash/infrastructure/Netmash.Infrastructure.Data.../Repositories/IMigrationRepository.cs

15 lines
522 B
C#
Raw Normal View History

2023-01-12 01:01:36 +02:00
using Netmash.Infrastructure.DatabaseMigration.Constants;
using Netmash.Infrastructure.DatabaseMigration.Entities;
using System.Threading.Tasks;
2022-01-21 11:19:51 +02:00
2023-01-12 01:01:36 +02:00
namespace Netmash.Infrastructure.DatabaseMigration.Repositories
2022-01-21 11:19:51 +02:00
{
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
}
}