Fix lint
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2020-12-18 17:09:44 +01:00
parent bf97c0023c
commit 87cb6cc424
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 3 deletions

View File

@ -17,10 +17,11 @@
package migration
import (
"strings"
"code.vikunja.io/api/pkg/config"
"code.vikunja.io/api/pkg/log"
"src.techknowlogick.com/xormigrate"
"strings"
"xorm.io/xorm"
)
@ -59,8 +60,8 @@ func init() {
ID: "20201218152741",
Description: "Make sure all int64 fields are bigint in the db",
Migrate: func(tx *xorm.Engine) error {
columns := make(map[string][]string) // table is the key, columns are the contents
columns = map[string][]string{
// table is the key, columns are the contents
columns := map[string][]string{
"totp": {
"id",
"user_id",