ok
Direktori : /home2/selectio/public_html/limpiar.in.net/install/sqlupdates/ |
Current File : //home2/selectio/public_html/limpiar.in.net/install/sqlupdates/v43.sql |
DROP TABLE `carts`; CREATE TABLE `carts` ( `id` int(11) UNSIGNED NOT NULL, `owner_id` int(11) DEFAULT NULL, `user_id` int(11) DEFAULT NULL, `address_id` int(11) NOT NULL DEFAULT '0', `product_id` int(11) DEFAULT NULL, `variation` text COLLATE utf8_unicode_ci, `price` double(8,2) DEFAULT '0.00', `tax` double(8,2) DEFAULT '0.00', `shipping_cost` double(8,2) DEFAULT '0.00', `discount` double(10,2) NOT NULL DEFAULT '0.00', `coupon_code` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `coupon_applied` tinyint(4) NOT NULL DEFAULT '0', `quantity` int(11) NOT NULL DEFAULT '0', `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; ALTER TABLE `carts` ADD PRIMARY KEY (`id`); ALTER TABLE `carts` MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=57; UPDATE `business_settings` SET `value` = '4.3' WHERE `business_settings`.`type` = 'current_version'; COMMIT;