2022-02-16 19:09:06 +02:00
|
|
|
|
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
|
|
|
|
|
{
|
2022-02-16 19:09:06 +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);
|
2022-02-16 19:09:06 +02:00
|
|
|
|
Task<bool> MigrationTablesAreSet(DatabaseType databaseType);
|
|
|
|
|
Task<MigrationSignature> GetLastMigrationSignature();
|
|
|
|
|
Task AddMigrationSignature(MigrationSignature migrationSignature);
|
2022-01-21 11:19:51 +02:00
|
|
|
|
}
|
|
|
|
|
}
|