mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-09 13:08:08 -06:00
[bugfix] Remove unique constraint on public_key (#1653)
This commit is contained in:
parent
de6e3e5f2a
commit
6cf6613540
2 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
Loading…
Add table
Add a link
Reference in a new issue