From 64865605a59e999540b8815069c2dc893e2fd17b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi
Date: Wed, 9 Oct 2024 19:55:02 +0300
Subject: [PATCH 1/1] Added note about using database migration statements
db-migrate.sql | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/db-migrate.sql b/db-migrate.sql
index cc2fc41..ba8d6b9 100644
--- a/db-migrate.sql
+++ b/db-migrate.sql
@@ -1,3 +1,9 @@
+-- Note: This file contains SQL statements for migrating between versions.
+-- You should not run all of them. Depending on what you are upgrading
+-- from/to, choose the appropriate statements from this file and run them
+-- manually. For instance, you could copy/paste them into an interactive
+-- MariaDB prompt.
-- Migration from v1 to v2 --
ALTER TABLE users ADD COLUMN email_inter INT DEFAULT 30;
ALTER TABLE users ADD COLUMN email_range VARCHAR(30) DEFAULT '';
--
2.25.1
text/plain
This content has been proxied by September (3851b).