mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
DB/CustomData
* alter value column from varchar to text to prevent truncated data
This commit is contained in:
@@ -2419,7 +2419,7 @@ CREATE TABLE `aowow_setup_custom_data` (
|
||||
`command` varchar(100) NOT NULL DEFAULT '',
|
||||
`entry` int NOT NULL DEFAULT 0 COMMENT 'typeId',
|
||||
`field` varchar(100) NOT NULL DEFAULT '',
|
||||
`value` varchar(100) DEFAULT NULL,
|
||||
`value` text DEFAULT NULL,
|
||||
`comment` text DEFAULT NULL,
|
||||
KEY `aowow_setup_custom_data_command_IDX` (`command`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
@@ -3226,7 +3226,7 @@ UNLOCK TABLES;
|
||||
|
||||
LOCK TABLES `aowow_dbversion` WRITE;
|
||||
/*!40000 ALTER TABLE `aowow_dbversion` DISABLE KEYS */;
|
||||
INSERT INTO `aowow_dbversion` VALUES (1720385208,0,NULL,NULL);
|
||||
INSERT INTO `aowow_dbversion` VALUES (1720448854,0,NULL,NULL);
|
||||
/*!40000 ALTER TABLE `aowow_dbversion` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
||||
2
setup/updates/1720448853_01.sql
Normal file
2
setup/updates/1720448853_01.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `aowow_setup_custom_data`
|
||||
MODIFY COLUMN `value` text DEFAULT NULL;
|
||||
Reference in New Issue
Block a user