Selaa lähdekoodia

SQL file

master
Kenneth Hedahl 6 vuotta sitten
vanhempi
commit
0b4a1d0d8b
1 muutettua tiedostoa jossa 244 lisäystä ja 0 poistoa
  1. 244
    0
      aspitdb.sql

+ 244
- 0
aspitdb.sql Näytä tiedosto

@@ -0,0 +1,244 @@
1
+-- phpMyAdmin SQL Dump
2
+-- version 4.8.3
3
+-- https://www.phpmyadmin.net/
4
+--
5
+-- Host: localhost
6
+-- Generation Time: Sep 05, 2019 at 10:05 AM
7
+-- Server version: 5.7.27-0ubuntu0.18.04.1
8
+-- PHP Version: 7.2.19-0ubuntu0.18.04.2
9
+
10
+SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
11
+SET AUTOCOMMIT = 0;
12
+START TRANSACTION;
13
+SET time_zone = "+00:00";
14
+
15
+
16
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
17
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
18
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
19
+/*!40101 SET NAMES utf8mb4 */;
20
+
21
+--
22
+-- Database: `aspit`
23
+--
24
+
25
+-- --------------------------------------------------------
26
+
27
+--
28
+-- Table structure for table `attendees`
29
+--
30
+
31
+CREATE TABLE `attendees` (
32
+  `id` int(11) NOT NULL,
33
+  `eventid` int(11) NOT NULL,
34
+  `userid` int(11) NOT NULL,
35
+  `time` int(11) NOT NULL
36
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
37
+
38
+--
39
+-- Dumping data for table `attendees`
40
+--
41
+
42
+INSERT INTO `attendees` (`id`, `eventid`, `userid`, `time`) VALUES
43
+(25, 20, 2, 1566990318),
44
+(34, 17, 11, 1566990927),
45
+(45, 20, 1, 1566992785),
46
+(47, 20, 11, 1567589289),
47
+(50, 17, 2, 1567670619);
48
+
49
+-- --------------------------------------------------------
50
+
51
+--
52
+-- Table structure for table `events`
53
+--
54
+
55
+CREATE TABLE `events` (
56
+  `id` int(11) NOT NULL,
57
+  `title` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
58
+  `img` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
59
+  `type` int(11) NOT NULL,
60
+  `description` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
61
+  `time` int(11) NOT NULL
62
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
63
+
64
+--
65
+-- Dumping data for table `events`
66
+--
67
+
68
+INSERT INTO `events` (`id`, `title`, `img`, `type`, `description`, `time`) VALUES
69
+(17, 'Motion for Alle', 'https://aspit.dfine.net/odensetrack/img/uploads/QIMkH.png', 1, '<p>Text to be inserted in this very event. Or longer text to mimic shit that might be inserted here also.</p>', 1571907720),
70
+(18, 'Need for Speed', 'https://aspit.dfine.net/odensetrack/img/uploads/ZR49W.png', 2, '<p>Lorem ipsum dolor sit amet, og en masse andet m&oslash;gtekst der kun er her for at demonstrere en lang eventtekst, og om teksten besk&aelig;res korrekt.</p>', 1579168920),
71
+(19, 'Odense Baneløb', 'https://aspit.dfine.net/odensetrack/img/uploads/0fV6l.png', 2, '<p>d</p>', 1574262000),
72
+(20, 'Odense Marathon Løb', 'https://aspit.dfine.net/odensetrack/img/uploads/R2XeS.png', 1, '<p>dd<img src=\"img/uploads/meL39.png\" alt=\"\" width=\"992\" height=\"328\" /></p>', 1571828400),
73
+(21, 'Trackday', 'https://aspit.dfine.net/odensetrack/img/uploads/el2aP.jpg', 2, '<p>ff</p>', 1571220000),
74
+(23, 'Some Event', 'https://aspit.dfine.net/odensetrack/img/uploads/amoWI.jpg', 2, '<p>Some text in here!</p>', 1582107660);
75
+
76
+-- --------------------------------------------------------
77
+
78
+--
79
+-- Table structure for table `news`
80
+--
81
+
82
+CREATE TABLE `news` (
83
+  `id` int(11) NOT NULL,
84
+  `author` int(11) NOT NULL,
85
+  `time` int(11) NOT NULL,
86
+  `title` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
87
+  `type` int(11) NOT NULL,
88
+  `content` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
89
+  `img` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL
90
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
91
+
92
+--
93
+-- Dumping data for table `news`
94
+--
95
+
96
+INSERT INTO `news` (`id`, `author`, `time`, `title`, `type`, `content`, `img`) VALUES
97
+(17, 1, 1566383690, 'Newsfizzle for tha pizzle', 2, '<p><img src=\"img/uploads/GREETS-F1-header2.jpg\" alt=\"\" width=\"1320\" height=\"396\" />Lorizzle my shizz dolizzle gangsta amet, daahng dawg adipiscing elit. Pizzle i saw beyonces tizzles and my pizzle went crizzle velizzle, gizzle volutpizzle, suscipit quizzle, gravida vizzle, dang. Cool away bow wow wow. Bow wow wow eros. Own yo\' izzle shizznit dapibizzle turpis tempizzle bizzle. Mauris pellentesque nibh et turpizzle. Vestibulum in mofo. Pellentesque eleifend rhoncizzle bling bling. In hac habitasse platea dictumst. Donec dapibizzle. Fo shizzle my nizzle tellus urna, pretizzle shizzle my nizzle crocodizzle, mattizzle that\'s the shizzle, eleifend ma nizzle, nunc. Check out this check out this. Integizzle semper velit yo dawg.</p>\r\n<p>\"tw\"\'<img style=\"float: right;\" src=\"img/uploads/cbioM.jpg\" alt=\"\" width=\"447\" height=\"134\" /></p>\r\n<p>Vivamus fo shizzle maurizzle fo shizzle nisi pot break it down. Vivamizzle sizzle amet lacus. For sure eu nisl egizzle dope auctor bizzle. Crazy shiznit go to hizzle go to hizzle. Curabitur da bomb arcu. Vestibulizzle enizzle dawg, auctizzle gangsta, congue eu, dignissizzle crackalackin, libero. That\'s the shizzle fizzle fo shizzle yo erizzle posuere sure. Quisque pede tortor, congue pulvinar, auctor a, dizzle funky fresh mah nizzle, shizznit. Shiz izzle dui. Check out this risus shit, fo consectetizzle, that\'s the shizzle pimpin\', consequizzle imperdizzle, funky fresh. Quisque a ipsizzle yippiyo mi rutrum crunk. Curabitizzle accumsan sagittizzle ipsizzle. Pellentesque habitant phat tristique senectus izzle shizzlin dizzle izzle malesuada famizzle izzle yo hizzle. In fo shizzle my nizzle. Curabitur elementum. Ut eros felizzle, yo mamma cool, pimpin\' izzle, check out this pulvinizzle, fo shizzle mah nizzle fo rizzle, mah home g-dizzle. Get down get down fo gravida get down get down.</p>\r\n<p>&nbsp;</p>\r\n<p>Shizznit gangster auctizzle mauris. Phasellus you son of a bizzle pimpin\' ut nibh pretium crazy. Maecenizzle fizzle break it down. Vestibulizzle dawg lacizzle we gonna chung maurizzle elementum brizzle. Nunc izzle boom shackalack sizzle da bomb own yo\' ultricizzle dope. Fo shizzle my nizzle pot tortizzle, you son of a bizzle own yo\', hendrerizzle fo, adipiscing quis, gangsta. Etiam velit fizzle, for sure consequat, pharetra black, dictizzle that\'s the shizzle, mah nizzle. Vivamus get down get down. Funky fresh lorizzle. Proin vitae erizzle dizzle libero cool adipiscing. Fusce izzle augue fo shizzle mammasay mammasa mamma oo sa doggy bow wow wow. Phat fermentizzle sapien nizzle bow wow wow. Shizzle my nizzle crocodizzle lorem leo, fo shizzle my nizzle boofron, owned mah nizzle, commodo nizzle, justo. Donizzle crazy porttitizzle hizzle. Nunc feugizzle, tellus crackalackin shiz tempizzle, sapizzle fo shizzle tincidunt ante, egizzle dawg pede enizzle izzle fizzle. Phasellus quam leo, imperdizzle , pizzle izzle, semper izzle, sapizzle. Ut yo dope ipsum. Sed ante shizzlin dizzle, owned its fo rizzle, vestibulizzle izzle, rutrizzle check out this, velizzle. Mauris a doggy. Sed bizzle magna dizzle amet check out this iaculizzle own yo\'.</p>\r\n<p><img style=\"float: right;\" src=\"img/uploads/JSngC.jpg\" alt=\"\" width=\"560\" height=\"168\" /></p>\r\n<p>Sizzle metizzle get down get down, black izzle, cool izzle, black yippiyo, nulla. Donizzle own yo\', nisi i\'m in the shizzle get down get down malesuada, neque sheezy consequizzle velizzle, mollizzle fringilla libero mah nizzle izzle purus. Class bow wow wow taciti break yo neck, yall ad pimpin\' torquent funky fresh crunk tellivizzle, pizzle inceptos hymenizzle. For sure maurizzle shiz, scelerisque egizzle, iaculis vel, doggy that\'s the shizzle, elit. Tellivizzle shiz. Fusce velizzle fo shizzle my nizzle, accumsizzle fo, feugizzle for sure, hizzle i\'m in the shizzle, hizzle. Curabitizzle hizzle. Aenean nizzle mah nizzle non enim mattis pharetra. Integizzle stuff nizzle, laoreet izzle, mammasay mammasa mamma oo sa quizzle, check out this nizzle, ligula. Maecenas break yo neck, yall pede. I\'m in the shizzle nibh. Nulla enim. Nulla blandizzle. Daahng dawg metizzle shiznit, semper nizzle, lobortis that\'s the shizzle, molestie quizzle, lacus. Morbi mi dang, ghetto dawg, dapibus eu, pretizzle gizzle, velizzle. Morbi fo tellus quizzle fo shizzle tempizzle aliquam.<img src=\"img/uploads/sUCK4.jpg\" alt=\"\" width=\"992\" height=\"328\" /></p>', 'https://aspit.dfine.net/odensetrack/img/uploads/X02k7.jpg'),
98
+(24, 2, 1566981452, 'sdfsdfsfsdf', 1, '<p><img src=\"img/uploads/pbmWn.png\" alt=\"\" width=\"823\" height=\"272\" /></p>\r\n<p>This is the damn news!</p>', 'https://aspit.dfine.net/odensetrack/img/uploads/3DZFm.png');
99
+
100
+-- --------------------------------------------------------
101
+
102
+--
103
+-- Table structure for table `uploads`
104
+--
105
+
106
+CREATE TABLE `uploads` (
107
+  `id` int(11) NOT NULL,
108
+  `filename` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
109
+  `date` int(11) NOT NULL,
110
+  `user` int(11) NOT NULL,
111
+  `mime` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL
112
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
113
+
114
+--
115
+-- Dumping data for table `uploads`
116
+--
117
+
118
+INSERT INTO `uploads` (`id`, `filename`, `date`, `user`, `mime`) VALUES
119
+(1, 'groovy.jpg', 1238473, 1, ''),
120
+(2, 'bnZia.png', 1566902327, 2, ''),
121
+(3, 'UgrOV.jpg', 1566902423, 2, 'image/jpeg'),
122
+(4, 'AmjxF.rtf', 1566902538, 2, 'application/msword'),
123
+(5, 'U6xKe.jpg', 1566904784, 2, 'image/jpeg'),
124
+(6, 'PFwg0.png', 1566904808, 2, 'image/png'),
125
+(7, 'cbioM.jpg', 1566905804, 2, 'image/jpeg'),
126
+(8, '7gAdn.jpg', 1566979489, 2, 'image/jpeg'),
127
+(9, 'PcE9b.png', 1566980565, 2, 'image/png'),
128
+(10, 'a478N.png', 1566980581, 2, 'image/png'),
129
+(11, 'vTcFr.jpg', 1566980656, 2, 'image/jpeg'),
130
+(12, 'qb0Jb.jpg', 1566981008, 2, 'image/jpeg'),
131
+(13, 'OYwnk.jpg', 1566981343, 2, 'image/jpeg'),
132
+(14, 'X02k7.jpg', 1566981367, 2, 'image/jpeg'),
133
+(15, 'OVrdQ.jpg', 1566981452, 2, 'image/jpeg'),
134
+(16, '3DZFm.png', 1566981512, 2, 'image/png'),
135
+(17, 'pbmWn.png', 1566981558, 2, 'image/png'),
136
+(18, 'QIMkH.png', 1566982941, 2, 'image/png'),
137
+(19, 'ZR49W.png', 1566982977, 2, 'image/png'),
138
+(20, '0fV6l.png', 1566982996, 2, 'image/png'),
139
+(21, 'R2XeS.png', 1566983014, 2, 'image/png'),
140
+(22, 'el2aP.jpg', 1566983033, 2, 'image/jpeg'),
141
+(23, 'xOTU7.png', 1566990990, 1, 'image/png'),
142
+(24, 'meL39.png', 1566992456, 1, 'image/png'),
143
+(25, 'amoWI.jpg', 1567588908, 2, 'image/jpeg'),
144
+(26, 'fxjK2.jpg', 1567589582, 2, 'image/jpeg');
145
+
146
+-- --------------------------------------------------------
147
+
148
+--
149
+-- Table structure for table `users`
150
+--
151
+
152
+CREATE TABLE `users` (
153
+  `id` int(11) NOT NULL,
154
+  `realname` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
155
+  `username` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
156
+  `password` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
157
+  `email` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
158
+  `level` int(11) NOT NULL
159
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
160
+
161
+--
162
+-- Dumping data for table `users`
163
+--
164
+
165
+INSERT INTO `users` (`id`, `realname`, `username`, `password`, `email`, `level`) VALUES
166
+(1, 'Kenneth Hedahl', 'Kenneth', '$argon2i$v=19$m=1024,t=2,p=2$Q2M5emhlRi5WWXdGSkpvMA$qwSXN6rCu/87mSUuv0gsOS8ErMOFqp0hTwbVOFwm+Rg', 'mail@dfine.net', 100),
167
+(2, 'Carsten Sørensen', 'admin', '$argon2i$v=19$m=1024,t=2,p=2$aFlCU1ZSVzAwczFnVWNKRg$qvc56gqqHvTXS+4vR91iNPDGQ8ETOYQ0Wzmn429+xAk', 'admin@adminmail.nu', 100),
168
+(3, 'real', 'user', 'pass', 'mail', 25),
169
+(9, 'huehue', 'huehue', '$argon2i$v=19$m=1024,t=2,p=2$b2p2T2FGU3BzSExpejZ4Wg$a2jtHscJ6GF/XUPCiySuKSbQP1JEcMngoUIXFM1Gb9I', 'huehue@hue.heehe', 25),
170
+(10, 'John Mogensen', 'John', '$argon2i$v=19$m=1024,t=2,p=2$Y3RYa0N2ek1RNXRWaHo2Sg$n+InpYwtRuWEopdemE/tbXb/Gx60zdpV3GtCPRPOSjs', 'john@tele.dk', 25),
171
+(11, 'Kenneth Hedahl', 'Kennethz', '$argon2i$v=19$m=1024,t=2,p=2$WEZGMTlTMFIxWnJ0V1ZrVg$BsoH7kLdEcbR4xPoQeiAPtmIC28cwKVudSeag909iOc', 'mail@dfine.net', 25);
172
+
173
+--
174
+-- Indexes for dumped tables
175
+--
176
+
177
+--
178
+-- Indexes for table `attendees`
179
+--
180
+ALTER TABLE `attendees`
181
+  ADD PRIMARY KEY (`id`);
182
+
183
+--
184
+-- Indexes for table `events`
185
+--
186
+ALTER TABLE `events`
187
+  ADD PRIMARY KEY (`id`);
188
+
189
+--
190
+-- Indexes for table `news`
191
+--
192
+ALTER TABLE `news`
193
+  ADD PRIMARY KEY (`id`);
194
+
195
+--
196
+-- Indexes for table `uploads`
197
+--
198
+ALTER TABLE `uploads`
199
+  ADD PRIMARY KEY (`id`);
200
+
201
+--
202
+-- Indexes for table `users`
203
+--
204
+ALTER TABLE `users`
205
+  ADD PRIMARY KEY (`id`);
206
+
207
+--
208
+-- AUTO_INCREMENT for dumped tables
209
+--
210
+
211
+--
212
+-- AUTO_INCREMENT for table `attendees`
213
+--
214
+ALTER TABLE `attendees`
215
+  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51;
216
+
217
+--
218
+-- AUTO_INCREMENT for table `events`
219
+--
220
+ALTER TABLE `events`
221
+  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;
222
+
223
+--
224
+-- AUTO_INCREMENT for table `news`
225
+--
226
+ALTER TABLE `news`
227
+  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;
228
+
229
+--
230
+-- AUTO_INCREMENT for table `uploads`
231
+--
232
+ALTER TABLE `uploads`
233
+  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;
234
+
235
+--
236
+-- AUTO_INCREMENT for table `users`
237
+--
238
+ALTER TABLE `users`
239
+  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
240
+COMMIT;
241
+
242
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
243
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
244
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

Loading…
Peruuta
Tallenna