forked from 527515025/springBoot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnews.sql
More file actions
33 lines (27 loc) · 767 Bytes
/
news.sql
File metadata and controls
33 lines (27 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
Navicat Premium Data Transfer
Source Server : localhost
Source Server Type : MySQL
Source Server Version : 50719
Source Host : 127.0.0.1
Source Database : oldMan
Target Server Type : MySQL
Target Server Version : 50719
File Encoding : utf-8
Date: 04/02/2019 15:38:58 PM
*/
SET NAMES utf8;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for `news`
-- ----------------------------
DROP TABLE IF EXISTS `news`;
CREATE TABLE `news` (
`id` int(11) NOT NULL,
`title` varchar(100) DEFAULT NULL,
`content` text,
`image_path` varchar(100) DEFAULT NULL,
`read_sum` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
SET FOREIGN_KEY_CHECKS = 1;