123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- ALTER TABLE `product_stocks` ADD `image` INT NULL DEFAULT NULL AFTER `qty`;
- CREATE TABLE `blogs` (
- `id` bigint(20) UNSIGNED NOT NULL,
- `category_id` int(11) NOT NULL,
- `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `short_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
- `description` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
- `banner` int(11) DEFAULT NULL,
- `meta_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
- `meta_img` int(11) DEFAULT NULL,
- `meta_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
- `meta_keywords` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
- `status` int(1) NOT NULL DEFAULT 1,
- `created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- `deleted_at` timestamp NULL DEFAULT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- ALTER TABLE `blogs`
- ADD PRIMARY KEY (`id`);
- ALTER TABLE `blogs`
- MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
- CREATE TABLE `blog_categories` (
- `id` bigint(20) UNSIGNED NOT NULL,
- `category_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- `deleted_at` timestamp NULL DEFAULT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- ALTER TABLE `blog_categories`
- ADD PRIMARY KEY (`id`);
- ALTER TABLE `blog_categories`
- MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
- INSERT INTO `business_settings` (`type`, `value`, `created_at`, `updated_at`) VALUES
- ('header_menu_labels', '[\"Home\",\"Flash Sale\",\"Blogs\",\"All Brands\",\"All Categories\"]', '2021-02-16 08:43:11', '2021-02-16 08:52:18'),
- ('header_menu_links', '[\"http:\\/\\/domain.com\",\"http:\\/\\/domain.com\\/flash-deals\",\"http:\\/\\/domain.com\\/blog\",\"http:\\/\\/domain.com\\/brands\",\"http:\\/\\/domain.com\\/categories\"]', '2021-02-16 08:43:11', '2021-02-18 07:20:04');
- UPDATE `business_settings` SET `value` = '4.0' WHERE `business_settings`.`type` = 'current_version';
- COMMIT;
|