From 10889e8409d097ca77020fe0e90cc70e61a0cfee Mon Sep 17 00:00:00 2001 From: Hankin Date: Fri, 29 Nov 2024 16:59:54 +0800 Subject: [PATCH] customer_service --- 1732845832_create_table_customer_service_type.up.sql | 4 ++-- 1732846388_create_table_customer_service.up.sql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/1732845832_create_table_customer_service_type.up.sql b/1732845832_create_table_customer_service_type.up.sql index e96576c..a58f6df 100644 --- a/1732845832_create_table_customer_service_type.up.sql +++ b/1732845832_create_table_customer_service_type.up.sql @@ -1,6 +1,6 @@ CREATE TABLE `ufutx_customer_service_type` ( `id` bigint(20) UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT, `name` varchar(100) NOT NULL , - `created_at` timestamp NOT NULL, - `updated_at` timestamp NOT NULL + `created_at` timestamp default NULL, + `updated_at` timestamp default NULL ) \ No newline at end of file diff --git a/1732846388_create_table_customer_service.up.sql b/1732846388_create_table_customer_service.up.sql index 9cccd10..6f408de 100644 --- a/1732846388_create_table_customer_service.up.sql +++ b/1732846388_create_table_customer_service.up.sql @@ -3,6 +3,6 @@ CREATE TABLE `ufutx_customer_service` ( `type_id` bigint(20) UNSIGNED NOT NULL comment "客服类型id", `type_name` varchar(100) NOT NULL comment "客服类型", `user_id` bigint(20) UNSIGNED NOT NULL comment "用户id", - `created_at` timestamp NOT NULL, - `updated_at` timestamp NOT NULL + `created_at` timestamp default null, + `updated_at` timestamp default NULL ) \ No newline at end of file