From 31799a95f73f02e5fe33be01374409489552a7a6 Mon Sep 17 00:00:00 2001 From: Mike Fridman Date: Sat, 31 Aug 2024 09:55:02 -0400 Subject: [PATCH] docs: improve wording around CreateVersionTable --- database/store.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/database/store.go b/database/store.go index 0c7e44de8..ff0e714a8 100644 --- a/database/store.go +++ b/database/store.go @@ -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