ok
Direktori : /proc/thread-self/root/home2/selectio/public_html/limpiar.in.net/sqlupdates/ |
Current File : //proc/thread-self/root/home2/selectio/public_html/limpiar.in.net/sqlupdates/v20.sql |
UPDATE `business_settings` SET `value` = '2.0' WHERE `business_settings`.`type` = 'current_version'; -- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Mar 08, 2020 at 11:37 AM -- Server version: 10.3.16-MariaDB -- PHP Version: 7.3.7 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `shop` -- -- -------------------------------------------------------- -- -- Table structure for table `addons` -- CREATE TABLE `addons` ( `id` int(11) NOT NULL, `name` varchar(255) COLLATE utf32_unicode_ci DEFAULT NULL, `unique_identifier` varchar(255) COLLATE utf32_unicode_ci DEFAULT NULL, `version` varchar(255) COLLATE utf32_unicode_ci DEFAULT NULL, `activated` int(1) NOT NULL DEFAULT 1, `image` varchar(1000) COLLATE utf32_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT current_timestamp(), `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf32 COLLATE=utf32_unicode_ci; -- -- Indexes for dumped tables -- -- -- Indexes for table `addons` -- ALTER TABLE `addons` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `addons` -- ALTER TABLE `addons` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; -- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Mar 08, 2020 at 11:38 AM -- Server version: 10.3.16-MariaDB -- PHP Version: 7.3.7 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `shop` -- -- -------------------------------------------------------- -- -- Table structure for table `attributes` -- CREATE TABLE `attributes` ( `id` int(11) NOT NULL, `name` varchar(255) COLLATE utf32_unicode_ci DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf32 COLLATE=utf32_unicode_ci; -- -- Dumping data for table `attributes` -- INSERT INTO `attributes` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'Size', '2020-02-24 05:55:07', '2020-02-24 05:55:07'), (2, 'Fabric', '2020-02-24 05:55:13', '2020-02-24 05:55:13'); -- -- Indexes for dumped tables -- -- -- Indexes for table `attributes` -- ALTER TABLE `attributes` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `attributes` -- ALTER TABLE `attributes` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; -- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Mar 08, 2020 at 11:43 AM -- Server version: 10.3.16-MariaDB -- PHP Version: 7.3.7 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `shop` -- -- -------------------------------------------------------- -- -- Table structure for table `product_stocks` -- DROP TABLE IF EXISTS `product_stocks`; CREATE TABLE `product_stocks` ( `id` int(11) NOT NULL, `product_id` int(11) NOT NULL, `variant` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `sku` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `price` double(10,2) NOT NULL DEFAULT 0.00, `qty` int(11) NOT NULL DEFAULT 0, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Indexes for dumped tables -- -- -- Indexes for table `product_stocks` -- ALTER TABLE `product_stocks` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `product_stocks` -- ALTER TABLE `product_stocks` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; ALTER TABLE `products` ADD `variant_product` INT(1) NOT NULL DEFAULT '0' AFTER `purchase_price`, ADD `attributes` VARCHAR(1000) NULL DEFAULT '[]' AFTER `variant_product`; ALTER TABLE `users` ADD `referred_by` INT NULL DEFAULT NULL AFTER `id`; ALTER TABLE `users` ADD `referral_code` VARCHAR(255) NULL DEFAULT NULL AFTER `balance`;