Skip to content

Commit ef641b0

Browse files
authored
Update update.php
1 parent eb8a8e8 commit ef641b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/update.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"ALTER TABLE `users` ADD `spam_info` VARCHAR(500) NULL AFTER `agent_date`;",
106106
"ALTER TABLE `server_info` CHANGE `title` `title` VARCHAR(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL;",
107107
"UPDATE `orders_list` SET `status` = 1",
108-
"ALTER TABLE `orders_list` ADD `uuid` VARCHAR(100) NULL AFTER `remark`;",
108+
"ALTER TABLE `orders_list` ADD `uuid` VARCHAR(1000) NULL AFTER `remark`;",
109109
"ALTER TABLE `pays` ADD `tron_price` DOUBLE(255,2) NOT NULL DEFAULT '0' AFTER `price`;",
110110
"ALTER TABLE `gift_list` CHANGE `id` `id` INT(255) NOT NULL AUTO_INCREMENT;",
111111
"ALTER TABLE `users` CHANGE `discount_percent` `discount_percent` VARCHAR(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL;",
@@ -117,7 +117,7 @@
117117
PRIMARY KEY (`id`)
118118
);",
119119
"ALTER TABLE `orders_list` CHANGE `token` `token` VARCHAR(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_persian_ci NOT NULL;",
120-
"ALTER TABLE `orders_list` CHANGE `uuid` `uuid` VARCHAR(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_persian_ci NOT NULL;"
120+
"ALTER TABLE `orders_list` CHANGE `uuid` `uuid` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_persian_ci NULL DEFAULT NULL;"
121121
];
122122
function updateBot(){
123123
global $arrays, $connection, $walletwizwiz, $nowPaymentKey, $zarinpalId;

0 commit comments

Comments
 (0)