12345678910111213141516171819202122 |
- CREATE TABLE `product_queries` (
- `id` bigint(20) UNSIGNED NOT NULL,
- `customer_id` int(11) NOT NULL,
- `seller_id` int(11) NOT NULL,
- `product_id` int(11) NOT NULL,
- `question` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
- `reply` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
- `created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- ALTER TABLE `product_queries`
- ADD PRIMARY KEY (`id`);
- ALTER TABLE `product_queries`
- MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
- UPDATE `business_settings` SET `value` = '6.1.2' WHERE `business_settings`.`type` = 'current_version';
- COMMIT;
|