From 4bda806b9bccfd50836b91ab23591a0a95d9bbda Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Sun, 23 Feb 2020 20:32:40 +0100 Subject: [PATCH] DB/Mails * add lost column `attachment` --- setup/db_structure.sql | 1 + setup/updates/1581549222_01.sql | 1 + 2 files changed, 2 insertions(+) diff --git a/setup/db_structure.sql b/setup/db_structure.sql index e27b5513..6bfc181f 100644 --- a/setup/db_structure.sql +++ b/setup/db_structure.sql @@ -1601,6 +1601,7 @@ CREATE TABLE `aowow_mails` ( `text_loc4` text COLLATE utf8mb4_unicode_ci NOT NULL, `text_loc6` text COLLATE utf8mb4_unicode_ci NOT NULL, `text_loc8` text COLLATE utf8mb4_unicode_ci NOT NULL, + `attachment` smallint(5) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; diff --git a/setup/updates/1581549222_01.sql b/setup/updates/1581549222_01.sql index 2bce6347..31853f14 100644 --- a/setup/updates/1581549222_01.sql +++ b/setup/updates/1581549222_01.sql @@ -15,6 +15,7 @@ CREATE TABLE `aowow_mails` ( `text_loc4` text COLLATE utf8mb4_unicode_ci NOT NULL, `text_loc6` text COLLATE utf8mb4_unicode_ci NOT NULL, `text_loc8` text COLLATE utf8mb4_unicode_ci NOT NULL, + `attachment` smallint(5) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;