Added migration tool
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using HaDbMigration.Models;
|
||||
|
||||
namespace HaDbMigration.Services.Interfaces;
|
||||
|
||||
public interface ISchemaService
|
||||
{
|
||||
Task<bool> ValidateTablesExistAsync(
|
||||
IReadOnlyList<TableDescriptor> tables,
|
||||
CancellationToken cancellationToken);
|
||||
|
||||
Task TruncateTablesAsync(
|
||||
IReadOnlyList<TableDescriptor> tables,
|
||||
CancellationToken cancellationToken);
|
||||
|
||||
Task ResetSequencesAsync(
|
||||
IReadOnlyList<TableDescriptor> tables,
|
||||
CancellationToken cancellationToken);
|
||||
}
|
||||
Reference in New Issue
Block a user