19 lines
493 B
C#
19 lines
493 B
C#
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);
|
|
}
|