package migrate // Dialect defines the interface for database-specific SQL generation. // Implementations must provide SQL statements for creating and managing // the migration version table. type Dialect interface { // CreateTable returns SQL to create the migration version table CreateTable(table string) string // TableExists returns SQL to check if the migration version table exists TableExists(table string) string // CheckVersion returns SQL to get the current migration version CheckVersion(table string) string // InsertVersion returns SQL to insert a new migration version record InsertVersion(table string) string }