Actualizacion de Diseño Logins y Parte de Registro Negocios

This commit is contained in:
kquiroz
2023-08-23 16:11:21 -04:00
parent d71e89adae
commit 38bf59042d
3498 changed files with 691264 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
ALTER TABLE `products` ADD INDEX(`unit_price`);
ALTER TABLE `products` ADD INDEX(`created_at`);
ALTER TABLE `products` CHANGE `tags` `tags` VARCHAR(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL;
ALTER TABLE `shops` ADD `delivery_pickup_latitude` FLOAT NULL DEFAULT NULL AFTER `shipping_cost`,
ADD `delivery_pickup_longitude` FLOAT NULL DEFAULT NULL AFTER `delivery_pickup_latitude`;
ALTER TABLE `sellers` ADD `rating` DOUBLE(3,2) NOT NULL DEFAULT '0' AFTER `user_id`;
ALTER TABLE `sellers` ADD `num_of_sale` INT NOT NULL DEFAULT '0' AFTER `rating`;
ALTER TABLE `sellers` ADD `num_of_reviews` INT NOT NULL DEFAULT '0' AFTER `rating`;
ALTER TABLE `addons` ADD `purchase_code` VARCHAR(255) NULL DEFAULT NULL AFTER `image`;
UPDATE `business_settings` SET `value` = '5.3' WHERE `business_settings`.`type` = 'current_version';
COMMIT;