Skip to content

Commit 9573151

Browse files
committed
Documentation and logo correction.
1 parent bbd5189 commit 9573151

2 files changed

Lines changed: 88 additions & 51 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ func migrate(db *sql.DB) error {
230230
}
231231
```
232232

233-
### New Database SQL Dialect
233+
### New SQL Dialect
234234

235235
*DMorph* uses the Dialect interface to adapt to different database management systems:
236236

@@ -247,9 +247,9 @@ above functions using a set of user supplied SQL statements:
247247

248248
```go
249249
type BaseDialect struct {
250-
CreateTemplate string
251-
AppliedTemplate string
252-
RegisterTemplate string
250+
CreateTemplate string // statement ensuring the existence of the migration table
251+
AppliedTemplate string // statement getting applied migrations ordered by application date
252+
RegisterTemplate string // statement registering a migration
253253
}
254254
```
255255

dmorph_logo.svg

Lines changed: 84 additions & 47 deletions
Loading

0 commit comments

Comments
 (0)