summaryrefslogtreecommitdiff
path: root/internal/db
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-03-28 22:55:51 +0200
committerLibravatar GitHub <noreply@github.com>2023-03-28 22:55:51 +0200
commit6cf6613540cb8a3f7876a51ee6edaa7afee69905 (patch)
tree6377398e7351bb32308b569809fdb4902365a990 /internal/db
parent[performance] refactoring + add fave / follow / request / visibility caching ... (diff)
downloadgotosocial-6cf6613540cb8a3f7876a51ee6edaa7afee69905.tar.xz
[bugfix] Remove unique constraint on public_key (#1653)
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 {