-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathurlusersdb.sql
78 lines (66 loc) · 2.18 KB
/
urlusersdb.sql
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*
Navicat MySQL Data Transfer
Source Server : local
Source Server Version : 50723
Source Host : localhost:3306
Source Database : urlusersdb
Target Server Type : MYSQL
Target Server Version : 50723
File Encoding : 65001
Date: 2020-05-10 13:23:43
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for urlcomments
-- ----------------------------
DROP TABLE IF EXISTS `urlcomments`;
CREATE TABLE `urlcomments` (
`username` varchar(30) NOT NULL,
`urlstr` varchar(50) NOT NULL,
`urlcomment` varchar(1000) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of urlcomments
-- ----------------------------
INSERT INTO `urlcomments` VALUES ('11', 'www.baidu.com', '引擎');
-- ----------------------------
-- Table structure for urllables
-- ----------------------------
DROP TABLE IF EXISTS `urllables`;
CREATE TABLE `urllables` (
`username` varchar(30) NOT NULL,
`urlstr` varchar(50) NOT NULL,
`urllable` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of urllables
-- ----------------------------
INSERT INTO `urllables` VALUES ('11', 'www.baidu.com', '搜索');
INSERT INTO `urllables` VALUES ('11', 'www.baidu.com', '引擎');
-- ----------------------------
-- Table structure for urls
-- ----------------------------
DROP TABLE IF EXISTS `urls`;
CREATE TABLE `urls` (
`username` varchar(30) NOT NULL,
`urlname` varchar(30) NOT NULL,
`urlstr` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of urls
-- ----------------------------
INSERT INTO `urls` VALUES ('11', '百度', 'www.baidu.com');
INSERT INTO `urls` VALUES ('11', '谷歌', 'www.google.com');
-- ----------------------------
-- Table structure for urlusers
-- ----------------------------
DROP TABLE IF EXISTS `urlusers`;
CREATE TABLE `urlusers` (
`username` varchar(30) NOT NULL,
`passwd` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of urlusers
-- ----------------------------
INSERT INTO `urlusers` VALUES ('11', '11');
INSERT INTO `urlusers` VALUES ('', '');