Skip to content

Commit

Permalink
DB/Mails
Browse files Browse the repository at this point in the history
 * add field cuFlags to Type:Mail storage (RandomPage search no longer randomly fails, when randomly selecting mails)
  • Loading branch information
Sarjuuk committed Mar 25, 2022
1 parent 29fb763 commit 6dca525
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup/db_structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1623,6 +1623,7 @@ DROP TABLE IF EXISTS `aowow_mails`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `aowow_mails` (
`id` smallint(5) NOT NULL,
`cuFlags` int(10) unsigned NOT NULL DEFAULT 0,
`subject_loc0` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
`subject_loc2` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
`subject_loc3` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
Expand Down Expand Up @@ -3184,7 +3185,7 @@ UNLOCK TABLES;

LOCK TABLES `aowow_dbversion` WRITE;
/*!40000 ALTER TABLE `aowow_dbversion` DISABLE KEYS */;
INSERT INTO `aowow_dbversion` VALUES (1647956310,0,NULL,NULL);
INSERT INTO `aowow_dbversion` VALUES (1648222153,0,NULL,NULL);
/*!40000 ALTER TABLE `aowow_dbversion` ENABLE KEYS */;
UNLOCK TABLES;

Expand Down
1 change: 1 addition & 0 deletions setup/updates/1648222152_01.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE aowow_mails ADD cuFlags INT UNSIGNED DEFAULT 0 NOT NULL AFTER id;

0 comments on commit 6dca525

Please sign in to comment.