Skip to content

fix: auto migrate tries to delete non-existent unique constraint #1455

fix: auto migrate tries to delete non-existent unique constraint

fix: auto migrate tries to delete non-existent unique constraint #1455

Triggered via pull request August 1, 2024 21:02
Status Success
Total duration 29s
Artifacts

reviewdog.yml

on: pull_request
runner / golangci-lint
17s
runner / golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

1 error
runner / golangci-lint: migrator/migrator.go#L763
[golangci] reported by reviewdog 🐶 S1028: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (gosimple) Raw Output: migrator/migrator.go:763:11: S1028: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (gosimple) return errors.New(fmt.Sprintf("Can't find constraint for %q, with guessed name %q", name, constraint)) ^