fix upload attachments (#6481)

* fix upload attachments

* add migration for new column uploader_id on table attachment

* fix imports sequence
This commit is contained in:
Lunny Xiao 2019-04-03 03:25:05 +08:00 committed by techknowlogick
parent 0a8e63c682
commit 09fb036ad6
7 changed files with 76 additions and 14 deletions

View file

@ -219,6 +219,8 @@ var migrations = []Migration{
NewMigration("update U2F counter type", changeU2FCounterType),
// v82 -> v83
NewMigration("hot fix for wrong release sha1 on release table", fixReleaseSha1OnReleaseTable),
// v83 -> v84
NewMigration("add uploader id for table attachment", addUploaderIDForAttachment),
}
// Migrate database to current version