From 88d32fa6c50aaf890a73a4798475bde0c4ff8762 Mon Sep 17 00:00:00 2001 From: zchengo <1933757688@qq.com> Date: Mon, 2 Jan 2023 10:57:27 +0800 Subject: [PATCH] feat: notice table --- server/db/crm.sql | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/server/db/crm.sql b/server/db/crm.sql index 23c4f8c..9328064 100644 --- a/server/db/crm.sql +++ b/server/db/crm.sql @@ -11,7 +11,7 @@ Target Server Version : 80031 (8.0.31) File Encoding : 65001 - Date: 28/12/2022 20:09:32 + Date: 02/01/2023 10:55:52 */ SET NAMES utf8mb4; @@ -77,6 +77,30 @@ INSERT INTO `customer` (`id`, `name`, `source`, `phone`, `email`, `industry`, `l INSERT INTO `customer` (`id`, `name`, `source`, `phone`, `email`, `industry`, `level`, `remarks`, `region`, `address`, `status`, `creator`, `created`, `updated`) VALUES (64, '可望企业股份有限公司', '电话咨询', '15133905680', '28033056@qq.com', '金融业', '重点客户', '现有客户引荐', '北京市,朝阳区', '黄厂路豆各庄2号', 1, 29, 1671192269, 0); COMMIT; +-- ---------------------------- +-- Table structure for notice +-- ---------------------------- +DROP TABLE IF EXISTS `notice`; +CREATE TABLE `notice` ( + `id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号', + `content` varchar(200) DEFAULT NULL COMMENT '通知内容', + `status` tinyint DEFAULT NULL COMMENT '状态,1-已读,2-未读', + `creator` bigint DEFAULT NULL COMMENT '创建者', + `created` bigint DEFAULT NULL COMMENT '创建时间', + `updated` bigint DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8mb3; + +-- ---------------------------- +-- Records of notice +-- ---------------------------- +BEGIN; +INSERT INTO `notice` (`id`, `content`, `status`, `creator`, `created`, `updated`) VALUES (37, '你登录了账号', 1, 29, 1672627977, 1672628013); +INSERT INTO `notice` (`id`, `content`, `status`, `creator`, `created`, `updated`) VALUES (38, '你登录了账号', 1, 29, 1672628053, 1672628062); +INSERT INTO `notice` (`id`, `content`, `status`, `creator`, `created`, `updated`) VALUES (39, '你登录了账号', 2, 29, 1672628056, 0); +INSERT INTO `notice` (`id`, `content`, `status`, `creator`, `created`, `updated`) VALUES (40, '你登录了账号', 2, 29, 1672628059, 0); +COMMIT; + -- ---------------------------- -- Table structure for product -- ----------------------------