ALTER TABLE `sellers` ADD `bank_name` VARCHAR(255) NULL DEFAULT NULL AFTER `admin_to_pay`, ADD `bank_acc_name` VARCHAR(200) NULL DEFAULT NULL AFTER `bank_name`, ADD `bank_acc_no` VARCHAR(50) NULL DEFAULT NULL AFTER `bank_acc_name`, ADD `bank_routing_no` INT(50) NULL DEFAULT NULL AFTER `bank_acc_no`; ALTER TABLE `sellers` ADD `bank_payment_status` INT NOT NULL DEFAULT '0' AFTER `bank_routing_no`; ALTER TABLE `payments` ADD `txn_code` VARCHAR(100) NULL DEFAULT NULL AFTER `payment_method`; ALTER TABLE `products` ADD `barcode` VARCHAR(255) NULL DEFAULT NULL AFTER `rating`; UPDATE `business_settings` SET `value` = '2.5' WHERE `business_settings`.`type` = 'current_version'; ALTER TABLE `users` ADD `customer_package_id` INT(11) NULL DEFAULT NULL AFTER `phone`, ADD `remaining_uploads` INT(11) NULL DEFAULT NULL AFTER `customer_package_id`; INSERT INTO `business_settings` (`id`, `type`, `value`, `created_at`, `updated_at`) VALUES (NULL, 'classified_product', '1', current_timestamp(), current_timestamp()); -- phpMyAdmin SQL Dump -- version 5.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: May 12, 2020 at 01:31 PM -- Server version: 10.4.11-MariaDB -- PHP Version: 7.4.2 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 `customer_packages` -- CREATE TABLE `customer_packages` ( `id` int(11) NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `amount` double(28,2) DEFAULT NULL, `product_upload` int(11) DEFAULT NULL, `logo` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Indexes for dumped tables -- -- -- Indexes for table `customer_packages` -- ALTER TABLE `customer_packages` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `customer_packages` -- ALTER TABLE `customer_packages` 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 5.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: May 12, 2020 at 01:32 PM -- Server version: 10.4.11-MariaDB -- PHP Version: 7.4.2 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 `customer_products` -- CREATE TABLE `customer_products` ( `id` int(11) NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `published` int(1) NOT NULL DEFAULT 0, `status` int(1) NOT NULL DEFAULT 0, `added_by` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `user_id` int(11) DEFAULT NULL, `category_id` int(11) DEFAULT NULL, `subcategory_id` int(11) DEFAULT NULL, `subsubcategory_id` int(11) DEFAULT NULL, `brand_id` int(11) DEFAULT NULL, `photos` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `thumbnail_img` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL, `conditon` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `location` text COLLATE utf8_unicode_ci DEFAULT NULL, `video_provider` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `video_link` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, `unit` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, `tags` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `description` mediumtext COLLATE utf8_unicode_ci DEFAULT NULL, `unit_price` double(28,2) DEFAULT 0.00, `meta_title` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, `meta_description` varchar(500) COLLATE utf8_unicode_ci DEFAULT NULL, `meta_img` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL, `pdf` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, `slug` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, `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 table `customer_products` -- ALTER TABLE `customer_products` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `customer_products` -- ALTER TABLE `customer_products` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; 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 */;