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