We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3248d7 commit ef2e8a1Copy full SHA for ef2e8a1
1 file changed
dialects.go
@@ -13,9 +13,9 @@ import (
13
// queries. Defining the CreateTemplate, AppliedTemplate and RegisterTemplate enables the BaseDialect to
14
// perform all the necessary operation to fulfill the Dialect interface.
15
type BaseDialect struct {
16
- CreateTemplate string
17
- AppliedTemplate string
18
- RegisterTemplate string
+ CreateTemplate string // statement ensuring the existence of the migration table
+ AppliedTemplate string // statement getting applied migrations ordered by application date
+ RegisterTemplate string // statement registering a migration
19
}
20
21
// EnsureMigrationTableExists ensures that the migration table, saving the applied migrations ids, exists.
0 commit comments