Skip to content

Commit ef2e8a1

Browse files
committed
Documentation of BaseDialect.
1 parent d3248d7 commit ef2e8a1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dialects.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import (
1313
// queries. Defining the CreateTemplate, AppliedTemplate and RegisterTemplate enables the BaseDialect to
1414
// perform all the necessary operation to fulfill the Dialect interface.
1515
type BaseDialect struct {
16-
CreateTemplate string
17-
AppliedTemplate string
18-
RegisterTemplate string
16+
CreateTemplate string // statement ensuring the existence of the migration table
17+
AppliedTemplate string // statement getting applied migrations ordered by application date
18+
RegisterTemplate string // statement registering a migration
1919
}
2020

2121
// EnsureMigrationTableExists ensures that the migration table, saving the applied migrations ids, exists.

0 commit comments

Comments
 (0)