Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Add slow-db warning log line to v7 migration.

Kailash Nadh64e83d633aab
diff --git a/internal/migrations/v7.0.0.go b/internal/migrations/v7.0.0.go
index 12607276..489f7879 100644
--- a/internal/migrations/v7.0.0.go
+++ b/internal/migrations/v7.0.0.go
@@ -9,6 +9,8 @@ import (
)
func V7_0_0(db *sqlx.DB, fs stuffbin.FileSystem, ko *koanf.Koanf, lo *log.Logger) error {
+ lo.Println("IMPORTANT: this upgrade might take a while if you have a large database. Please be patient ...")
+
// Settings.
if _, err := db.Exec(`
-- Migrate existing from_email to from_email[].