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 bbd5189 commit 9573151Copy full SHA for 9573151
2 files changed
README.md
@@ -230,7 +230,7 @@ func migrate(db *sql.DB) error {
230
}
231
```
232
233
-### New Database SQL Dialect
+### New SQL Dialect
234
235
*DMorph* uses the Dialect interface to adapt to different database management systems:
236
@@ -247,9 +247,9 @@ above functions using a set of user supplied SQL statements:
247
248
```go
249
type BaseDialect struct {
250
- CreateTemplate string
251
- AppliedTemplate string
252
- 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
253
254
255
dmorph_logo.svg
0 commit comments