15 lines
522 B
C#
15 lines
522 B
C#
using Netmash.Infrastructure.DatabaseMigration.Constants;
|
|
using Netmash.Infrastructure.DatabaseMigration.Entities;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Netmash.Infrastructure.DatabaseMigration.Repositories
|
|
{
|
|
internal interface IMigrationRepository
|
|
{
|
|
Task ExecuteSqlRaw(string sqlRaw);
|
|
Task<bool> MigrationTablesAreSet(DatabaseType databaseType);
|
|
Task<MigrationSignature> GetLastMigrationSignature();
|
|
Task AddMigrationSignature(MigrationSignature migrationSignature);
|
|
}
|
|
}
|