This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsocialmediabroadcaster.sql
190 lines (155 loc) · 4.21 KB
/
socialmediabroadcaster.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
-- phpMyAdmin SQL Dump
-- version 4.5.5.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Erstellungszeit: 20. Mrz 2016 um 22:00
-- Server-Version: 10.1.12-MariaDB
-- PHP-Version: 7.0.4
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!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 utf8mb4 */;
--
-- Datenbank: `socialmediabroadcaster`
--
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `broadcast`
--
CREATE TABLE `broadcast` (
`id` bigint(20) NOT NULL,
`id_modules` bigint(20) NOT NULL,
`id_social` bigint(20) NOT NULL,
`id_reference_modules` bigint(20) NOT NULL,
`id_reference_social` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `modules`
--
CREATE TABLE `modules` (
`id` bigint(20) NOT NULL,
`table` text,
`enabled` int(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Daten für Tabelle `modules`
--
INSERT INTO `modules` (`id`, `table`, `enabled`) VALUES
(1, 'rss_holarse', 1);
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `rss_holarse`
--
CREATE TABLE `rss_holarse` (
`id` bigint(20) NOT NULL,
`title` text,
`url` text,
`time` datetime DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `social`
--
CREATE TABLE `social` (
`id` bigint(20) NOT NULL,
`table` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Daten für Tabelle `social`
--
INSERT INTO `social` (`id`, `table`) VALUES
(1, 'social_twitter'),
(2, 'social_gnusocial');
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `social_gnusocial`
--
CREATE TABLE `social_gnusocial` (
`id` bigint(20) NOT NULL,
`message` text NOT NULL,
`time` datetime NOT NULL,
`url` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `social_twitter`
--
CREATE TABLE `social_twitter` (
`id` bigint(20) NOT NULL,
`message` text NOT NULL,
`time` datetime NOT NULL,
`url` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Indizes der exportierten Tabellen
--
--
-- Indizes für die Tabelle `broadcast`
--
ALTER TABLE `broadcast`
ADD PRIMARY KEY (`id`) USING BTREE;
--
-- Indizes für die Tabelle `modules`
--
ALTER TABLE `modules`
ADD PRIMARY KEY (`id`) USING BTREE;
--
-- Indizes für die Tabelle `rss_holarse`
--
ALTER TABLE `rss_holarse`
ADD PRIMARY KEY (`id`) USING BTREE;
--
-- Indizes für die Tabelle `social`
--
ALTER TABLE `social`
ADD PRIMARY KEY (`id`) USING BTREE;
--
-- Indizes für die Tabelle `social_gnusocial`
--
ALTER TABLE `social_gnusocial`
ADD PRIMARY KEY (`id`) USING BTREE;
--
-- Indizes für die Tabelle `social_twitter`
--
ALTER TABLE `social_twitter`
ADD PRIMARY KEY (`id`) USING BTREE;
--
-- AUTO_INCREMENT für exportierte Tabellen
--
--
-- AUTO_INCREMENT für Tabelle `broadcast`
--
ALTER TABLE `broadcast`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
--
-- AUTO_INCREMENT für Tabelle `modules`
--
ALTER TABLE `modules`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT für Tabelle `rss_holarse`
--
ALTER TABLE `rss_holarse`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
--
-- AUTO_INCREMENT für Tabelle `social`
--
ALTER TABLE `social`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT für Tabelle `social_gnusocial`
--
ALTER TABLE `social_gnusocial`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
--
-- AUTO_INCREMENT für Tabelle `social_twitter`
--
ALTER TABLE `social_twitter`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
/*!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 */;