-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdb.sql
More file actions
154 lines (132 loc) · 4.45 KB
/
db.sql
File metadata and controls
154 lines (132 loc) · 4.45 KB
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
-- phpMyAdmin SQL Dump
-- version 4.0.6
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Dec 09, 2013 at 06:05 PM
-- Server version: 5.5.33
-- PHP Version: 5.5.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `bachelor`
--
-- --------------------------------------------------------
--
-- Table structure for table `bc_animals`
--
CREATE TABLE `bc_animals` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(200) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;
--
-- Dumping data for table `bc_animals`
--
INSERT INTO `bc_animals` (`id`, `name`) VALUES
(1, 'Søkøer'),
(2, 'Næsebjørne'),
(3, 'Tropiske dyr'),
(4, 'Tropiske fisk'),
(5, 'Rovfisk'),
(6, 'Colobusaber'),
(7, 'Giftslanger'),
(8, 'Komodovaran'),
(9, 'Alligatorer'),
(10, 'Ålemaller'),
(11, 'Slanger'),
(12, 'Røde piratfisk'),
(13, 'Ikke angivet');
-- --------------------------------------------------------
--
-- Table structure for table `bc_areas`
--
CREATE TABLE `bc_areas` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) DEFAULT NULL,
`visitors` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;
--
-- Dumping data for table `bc_areas`
--
INSERT INTO `bc_areas` (`id`, `name`, `visitors`) VALUES
(1, 'Sydamerika', NULL),
(2, 'Afrika', NULL),
(3, 'Asien', NULL),
(4, 'Saltvandsakvariet', NULL),
(5, 'Slangetemplet', NULL),
(6, 'Dioramahallen', NULL),
(7, 'Danmarksparken', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `bc_feedings`
--
CREATE TABLE `bc_feedings` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`animalID` int(11) DEFAULT NULL,
`description` text,
`placeID` int(11) DEFAULT NULL,
`time` datetime NOT NULL,
`type` varchar(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=49 ;
--
-- Dumping data for table `bc_feedings`
--
INSERT INTO `bc_feedings` (`id`, `animalID`, `description`, `placeID`, `time`, `type`) VALUES
(11, 5, 'go go go2', 11, '2013-11-28 14:30:00', 'feeding'),
(12, 1, '(y) :D', 1, '2013-11-26 19:15:00', 'feeding'),
(5, 2, '111', 3, '2013-11-25 16:15:00', 'showing'),
(10, 9, 'go go go', 10, '2013-11-26 14:45:00', 'showing'),
(13, 1, 'før på dato', 1, '2013-11-25 14:15:00', 'feeding'),
(14, 1, 'før på tid', 1, '2013-11-26 14:00:00', 'feeding'),
(16, 1, 'hej', 1, '2013-11-26 15:10:00', 'feeding'),
(17, 7, 'Det bliver sygt', 6, '2013-11-26 15:15:00', 'showing'),
(18, 1, '', 1, '2013-11-27 18:00:00', 'feeding'),
(19, 1, 'hej', 10, '2013-11-27 19:35:00', 'feeding'),
(21, 5, 'Det bliver crazy :D Sanne tager den.', 10, '2013-11-27 19:40:00', 'Fremvisning'),
(27, 1, '', 1, '2013-11-29 16:00:00', 'Fodring'),
(28, 1, '', 1, '2013-12-03 09:00:00', 'Fodring'),
(29, 1, '', 1, '2013-12-03 09:00:00', 'Fodring'),
(30, 1, '', 1, '2013-12-03 09:00:00', 'Fodring'),
(31, 1, '', 1, '2013-12-03 09:00:00', 'Fodring'),
(32, 1, '', 1, '2013-12-03 09:00:00', 'Fodring'),
(33, 1, '', 1, '2013-12-03 09:00:00', 'Fodring'),
(34, 1, '', 1, '2013-12-03 09:00:00', 'Fodring'),
(35, 1, '', 1, '2013-12-03 09:00:00', 'Fodring'),
(36, 1, '', 1, '2013-12-03 09:00:00', 'Fodring'),
(37, 1, '', 1, '2013-12-03 13:40:00', 'Fodring'),
(38, 1, '', 1, '2013-12-03 13:45:00', 'Fodring'),
(39, 6, 'Hej', 5, '2013-12-09 12:45:00', 'Fodring'),
(43, 8, '', 7, '2013-12-09 13:40:00', 'Fodring'),
(42, 6, '', 5, '2013-12-09 13:45:00', 'Fodring'),
(44, 1, '', 1, '2013-12-09 13:50:00', 'Fodring'),
(45, 2, '', 2, '2013-12-09 13:55:00', 'Fodring'),
(46, 9, '', 8, '2013-12-09 14:00:00', 'Fodring'),
(47, 11, '', 10, '2013-12-09 14:15:00', 'Fodring'),
(48, 13, '', 1, '2013-12-09 14:45:00', 'Fremvisning');
-- --------------------------------------------------------
--
-- Table structure for table `bc_places`
--
CREATE TABLE `bc_places` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`areaID` int(11) DEFAULT NULL,
`name` varchar(200) DEFAULT NULL,
`x` int(10) NOT NULL,
`y` int(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 ;
--
-- Dumping data for table `bc_places`
--
INSERT INTO `bc_places` (`id`, `areaID`, `name`, `x`, `y`) VALUES
(1, 1, 'Søkobassinet', 320, 525),
(2, 1, 'Næsebjørne', 210, 130),
(5, 2, 'Colobusaber', 320, 215),
(7, 3, 'Komodovaran', 320, 180),
(8, 3, 'Alligatorer', 90, 200),
(9, 2, 'Ålemaller', 0, 0),
(10, 1, 'Templet', 470, 140),
(11, 1, 'Piratfisk', 205, 525);