From 167b0f46ef946fad3ca13976c3b87598f505e2ea Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 15 Mar 2021 02:52:12 +0800 Subject: chore(models): rewrite code format. (#14754) * chore: rewrite format. * chore: update format Signed-off-by: Bo-Yi Wu * chore: update format Signed-off-by: Bo-Yi Wu * chore: Adjacent parameters with the same type should be grouped together * chore: update format. --- models/migrations/v129.go | 1 - 1 file changed, 1 deletion(-) (limited to 'models/migrations/v129.go') diff --git a/models/migrations/v129.go b/models/migrations/v129.go index 26f8ed3432..e935f2e07c 100644 --- a/models/migrations/v129.go +++ b/models/migrations/v129.go @@ -9,7 +9,6 @@ import ( ) func purgeUnusedDependencies(x *xorm.Engine) error { - if _, err := x.Exec("DELETE FROM issue_dependency WHERE issue_id NOT IN (SELECT id FROM issue)"); err != nil { return err } -- cgit v1.2.3