codigo actual del servidor, con avances de joan
This commit is contained in:
21
sqlupdates/v612.sql
Normal file
21
sqlupdates/v612.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
|
||||
|
||||
UPDATE `business_settings` SET `value` = '6.1.2' WHERE `business_settings`.`type` = 'current_version';
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user