v45.sql 809 B

123456789101112
  1. ALTER TABLE `products` CHANGE `purchase_price` `purchase_price` DOUBLE(20,2) NULL DEFAULT NULL;
  2. ALTER TABLE `product_stocks` CHANGE `variant` `variant` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL;
  3. ALTER TABLE `products` DROP `subcategory_id`, DROP `subsubcategory_id`;
  4. ALTER TABLE `carts` ADD `shipping_type` VARCHAR(30) NOT NULL DEFAULT '' AFTER `shipping_cost`;
  5. ALTER TABLE `carts` ADD `pickup_point` INT(11) NULL DEFAULT NULL AFTER `shipping_type`;
  6. ALTER TABLE `seller_withdraw_requests` CHANGE `message` `message` LONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;
  7. ALTER TABLE `carts` ADD `temp_user_id` VARCHAR(255) NULL DEFAULT NULL AFTER `user_id`;
  8. UPDATE `business_settings` SET `value` = '4.5' WHERE `business_settings`.`type` = 'current_version';
  9. COMMIT;