ok
Direktori : /proc/thread-self/root/home2/selectio/public_html/limpiar.in.net/install/sqlupdates/ |
Current File : //proc/thread-self/root/home2/selectio/public_html/limpiar.in.net/install/sqlupdates/v48.sql |
UPDATE `business_settings` SET `value` = '4.8' WHERE `business_settings`.`type` = 'current_version'; ALTER TABLE `shops` ADD `phone` VARCHAR(255) NULL DEFAULT NULL AFTER `sliders`; INSERT INTO `business_settings` (`id`, `type`, `value`, `created_at`, `updated_at`) VALUES (NULL, 'proxypay', '1', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO `business_settings` (`id`, `type`, `value`, `created_at`, `updated_at`) VALUES (NULL, 'proxypay_sandbox', '1', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); ALTER TABLE `products` ADD `discount_start_date` INT NULL DEFAULT NULL AFTER `discount_type`, ADD `discount_end_date` INT NULL DEFAULT NULL AFTER `discount_start_date`; CREATE TABLE `attribute_values` ( `id` int(11) NOT NULL, `attribute_id` int(11) NOT NULL, `value` varchar(255) NOT NULL, `color_code` varchar(100) DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Indexes for dumped tables -- -- -- Indexes for table `attribute_values` -- ALTER TABLE `attribute_values` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `attribute_values` -- ALTER TABLE `attribute_values` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; CREATE TABLE `proxypay_payments` ( `id` int(11) NOT NULL, `payment_type` varchar(20) NOT NULL, `reference_id` varchar(20) NOT NULL, `order_id` int(11) DEFAULT NULL, `package_id` int(11) DEFAULT NULL, `user_id` int(11) NOT NULL, `amount` double(25,2) NOT NULL DEFAULT 0.00, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Indexes for dumped tables -- -- -- Indexes for table `proxypay_payments` -- ALTER TABLE `proxypay_payments` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `proxypay_payments` -- ALTER TABLE `proxypay_payments` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; COMMIT;