From d1bd7b96b87f8a9962bdb512b7d59b389de64976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Wed, 16 Mar 2022 18:29:19 +0100 Subject: [PATCH] fix: hotfix for #337 (resolve #33) --- migrations/20220313_index_generation_hint.go | 24 -------------------- version.txt | 2 +- 2 files changed, 1 insertion(+), 25 deletions(-) delete mode 100644 migrations/20220313_index_generation_hint.go diff --git a/migrations/20220313_index_generation_hint.go b/migrations/20220313_index_generation_hint.go deleted file mode 100644 index 60ae3334..00000000 --- a/migrations/20220313_index_generation_hint.go +++ /dev/null @@ -1,24 +0,0 @@ -package migrations - -import ( - "github.com/emvi/logbuch" - "github.com/muety/wakapi/config" - "gorm.io/gorm" -) - -func init() { - const name = "20220313-index_generation_hint" - f := migrationFunc{ - name: name, - f: func(db *gorm.DB, cfg *config.Config) error { - if hasRun(name, db) { - return nil - } - logbuch.Info("please note: the following migrations might take a few minutes, as column types are changed and new indexes are created, have some patience") - setHasRun(name, db) - return nil - }, - } - - registerPreMigration(f) -} diff --git a/version.txt b/version.txt index ecf00d90..1506473e 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.2.5 \ No newline at end of file +2.2.6 \ No newline at end of file