summaryrefslogtreecommitdiff
path: root/internal/db
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db')
-rw-r--r--internal/db/bundb/migrations/20230328203024_migration_fix.go (renamed from internal/db/bundb/migrations/20230328105630_chore_refactoring.go)2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/bundb/migrations/20230328105630_chore_refactoring.go b/internal/db/bundb/migrations/20230328203024_migration_fix.go
index 3bf9d59ef..4890255c6 100644
--- a/internal/db/bundb/migrations/20230328105630_chore_refactoring.go
+++ b/internal/db/bundb/migrations/20230328203024_migration_fix.go
@@ -26,7 +26,7 @@ import (
func init() {
up := func(ctx context.Context, db *bun.DB) error {
- // To update unique constraint on public key, we need to migrate accounts into a new table.
+ // To update not null constraint on public key, we need to migrate accounts into a new table.
// See section 7 here: https://www.sqlite.org/lang_altertable.html
return db.RunInTx(ctx, nil, func(ctx context.Context, tx bun.Tx) error {