-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtwitter_app.sql
146 lines (127 loc) · 6.15 KB
/
twitter_app.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# ************************************************************
# Sequel Pro SQL dump
# Version 4541
#
# http://www.sequelpro.com/
# https://github.com/sequelpro/sequelpro
#
# Host: localhost (MySQL 5.7.15)
# Database: twitter_app
# Generation Time: 2016-11-19 18:52:50 +0000
# ************************************************************
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
# Dump of table phrases
# ------------------------------------------------------------
DROP TABLE IF EXISTS `phrases`;
CREATE TABLE `phrases` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '',
`created` datetime DEFAULT NULL,
`modified` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `phrases` WRITE;
/*!40000 ALTER TABLE `phrases` DISABLE KEYS */;
INSERT INTO `phrases` (`id`, `name`, `created`, `modified`)
VALUES
(1,'Takeover bid','2016-08-07 06:17:07','2016-08-07 06:17:07'),
(2,'Buyout','2016-08-07 06:17:42','2016-08-07 06:17:42'),
(3,'Stock price increase','2016-08-07 06:17:42','2016-08-07 06:17:42'),
(4,'Stock spikes','2016-08-07 06:17:42','2016-08-07 06:17:42'),
(5,'To acquire','2016-08-07 06:17:42','2016-08-07 06:17:42');
/*!40000 ALTER TABLE `phrases` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table searches
# ------------------------------------------------------------
DROP TABLE IF EXISTS `searches`;
CREATE TABLE `searches` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`phrase_id` int(11) DEFAULT NULL,
`count` int(11) DEFAULT NULL,
`created` datetime DEFAULT NULL,
`modified` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `searches` WRITE;
/*!40000 ALTER TABLE `searches` DISABLE KEYS */;
INSERT INTO `searches` (`id`, `phrase_id`, `count`, `created`, `modified`)
VALUES
(1,1,15,'2016-08-07 09:16:56','2016-08-07 09:16:56'),
(2,2,15,'2016-08-07 09:16:57','2016-08-07 09:16:57'),
(3,1,63,'2016-08-06 12:49:16','2016-08-08 12:49:16'),
(4,2,98,'2016-08-05 12:49:18','2016-08-08 12:49:18'),
(5,1,96,'2016-08-08 13:01:49','2016-08-08 13:01:49'),
(6,2,54,'2016-08-08 13:01:52','2016-08-08 13:01:52'),
(7,1,49,'2016-08-04 13:02:39','2016-08-08 13:02:39'),
(8,2,89,'2016-08-08 13:02:40','2016-08-08 13:02:40'),
(9,1,86,'2016-08-03 13:19:00','2016-08-08 13:19:00'),
(10,2,52,'2016-08-08 13:19:05','2016-08-08 13:19:05'),
(11,1,52,'2016-08-08 13:19:40','2016-08-08 13:19:40'),
(12,2,90,'2016-08-08 13:19:45','2016-08-08 13:19:45'),
(13,1,37,'2016-08-08 13:49:41','2016-08-08 13:49:41'),
(14,2,78,'2016-08-08 13:49:44','2016-08-08 13:49:44'),
(15,1,62,'2016-08-08 14:03:08','2016-08-08 14:03:08'),
(16,2,97,'2016-08-08 14:03:11','2016-08-08 14:03:11'),
(17,1,32,'2016-08-08 14:03:19','2016-08-08 14:03:19'),
(18,2,41,'2016-08-08 14:03:22','2016-08-08 14:03:22'),
(19,1,71,'2016-08-08 15:51:48','2016-08-08 15:51:48'),
(20,2,67,'2016-08-08 15:52:23','2016-08-08 15:52:23'),
(21,1,10,'2016-08-08 15:52:28','2016-08-08 15:52:28'),
(22,2,22,'2016-08-08 15:54:13','2016-08-08 15:54:13'),
(23,2,89,'2012-08-08 16:34:36','2012-08-08 16:34:36'),
(24,2,91,'2016-08-08 16:34:42','2016-08-08 16:34:42'),
(25,2,27,'2016-08-08 16:34:48','2016-08-08 16:34:48'),
(26,1,22,'2015-08-08 16:34:52','2015-08-08 16:34:52'),
(27,1,91,'2014-08-08 16:34:56','2014-08-08 16:34:56'),
(28,2,16,'2016-08-08 16:50:10','2016-08-08 16:50:10'),
(29,2,19,'2016-08-08 16:50:21','2016-08-08 16:50:21'),
(30,2,18,'2016-08-08 16:51:47','2016-08-08 16:51:47'),
(31,2,51,'2016-08-08 16:52:30','2016-08-08 16:52:30'),
(32,2,94,'2015-08-08 16:53:02','2015-08-08 16:53:02'),
(33,1,72,'2016-08-08 16:53:51','2016-08-08 16:53:51'),
(34,1,34,'2016-08-08 16:54:03','2016-08-08 16:54:03'),
(35,2,38,'2016-08-08 16:54:15','2016-08-08 16:54:15'),
(36,1,23,'2016-08-08 16:58:17','2016-08-08 16:58:17'),
(37,2,95,'2014-08-08 16:58:19','2014-08-08 16:58:19'),
(38,1,94,'2016-08-08 17:02:01','2016-08-08 17:02:01'),
(39,2,73,'2016-08-08 17:02:03','2016-08-08 17:02:03'),
(40,1,94,'2014-08-08 17:02:45','2014-08-08 17:02:45'),
(41,2,73,'2016-08-08 17:02:47','2016-08-08 17:02:47'),
(42,1,94,'2016-08-08 17:03:23','2016-08-08 17:03:23'),
(43,2,73,'2016-08-08 17:03:24','2016-08-08 17:03:24'),
(44,1,94,'2016-08-08 17:03:38','2016-08-08 17:03:38'),
(45,2,73,'2016-08-08 17:03:40','2016-08-08 17:03:40'),
(46,1,95,'2016-08-08 17:04:55','2016-08-08 17:04:55'),
(47,2,73,'2016-08-08 17:04:57','2016-08-08 17:04:57'),
(48,1,100,'2016-11-19 18:07:56','2016-11-19 18:07:56'),
(49,2,100,'2016-11-19 18:07:57','2016-11-19 18:07:57'),
(50,3,63,'2016-11-19 18:07:58','2016-11-19 18:07:58'),
(51,4,100,'2016-11-19 18:07:59','2016-11-19 18:07:59'),
(52,5,100,'2016-11-19 18:08:01','2016-11-19 18:08:01'),
(53,1,100,'2016-11-19 18:08:24','2016-11-19 18:08:24'),
(54,2,100,'2016-11-19 18:08:25','2016-11-19 18:08:25'),
(55,3,63,'2016-11-19 18:08:26','2016-11-19 18:08:26'),
(56,4,100,'2016-11-19 18:08:27','2016-11-19 18:08:27'),
(57,5,100,'2016-11-19 18:08:28','2016-11-19 18:08:28'),
(58,1,100,'2016-11-19 18:08:46','2016-11-19 18:08:46'),
(59,1,100,'2016-11-19 18:10:23','2016-11-19 18:10:23'),
(60,2,100,'2016-11-19 18:10:24','2016-11-19 18:10:24'),
(61,3,63,'2016-11-19 18:10:25','2016-11-19 18:10:25'),
(62,1,82,'2016-11-19 18:33:55','2016-11-19 18:33:55'),
(63,2,30,'2016-11-19 18:35:14','2016-11-19 18:35:14'),
(64,1,37,'2016-11-19 18:35:20','2016-11-19 18:35:20'),
(65,2,39,'2016-11-19 18:37:10','2016-11-19 18:37:10');
/*!40000 ALTER TABLE `searches` ENABLE KEYS */;
UNLOCK TABLES;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;