mirror of
https://github.com/pressly/goose.git
synced 2025-05-30 19:23:14 +00:00
docs: improve wording around CreateVersionTable
This commit is contained in:
parent
eb5641ec06
commit
31799a95f7
@ -27,8 +27,7 @@ type Store interface {
|
||||
// Tablename is the name of the version table. This table is used to record applied migrations
|
||||
// and must not be an empty string.
|
||||
Tablename() string
|
||||
// CreateVersionTable creates the version table, which is used to track migrations. When
|
||||
// creating this table, the implementation MUST also insert a row for the initial version (0).
|
||||
// CreateVersionTable creates the version table, which is used to track migrations.
|
||||
CreateVersionTable(ctx context.Context, db DBTxConn) error
|
||||
// Insert a version id into the version table.
|
||||
Insert(ctx context.Context, db DBTxConn, req InsertRequest) error
|
||||
|
Loading…
x
Reference in New Issue
Block a user