diff options
Diffstat (limited to 'sql/ossearch.sql')
-rw-r--r-- | sql/ossearch.sql | 187 |
1 files changed, 187 insertions, 0 deletions
diff --git a/sql/ossearch.sql b/sql/ossearch.sql new file mode 100644 index 0000000..a1ef08f --- /dev/null +++ b/sql/ossearch.sql | |||
@@ -0,0 +1,187 @@ | |||
1 | -- phpMyAdmin SQL Dump | ||
2 | -- version 2.7.0-beta1 | ||
3 | -- http://www.phpmyadmin.net | ||
4 | -- | ||
5 | -- Host: localhost | ||
6 | -- Generatie Tijd: 24 Jan 2009 om 15:48 | ||
7 | -- Server versie: 5.0.67 | ||
8 | -- PHP Versie: 5.2.6-2ubuntu5 | ||
9 | -- | ||
10 | -- Database: `ossearch` | ||
11 | -- | ||
12 | |||
13 | -- -------------------------------------------------------- | ||
14 | |||
15 | -- | ||
16 | -- Tabel structuur voor tabel `allparcels` | ||
17 | -- | ||
18 | |||
19 | CREATE TABLE `allparcels` ( | ||
20 | `regionUUID` varchar(255) NOT NULL, | ||
21 | `parcelname` varchar(255) NOT NULL, | ||
22 | `ownerUUID` char(36) NOT NULL default '00000000-0000-0000-0000-000000000000', | ||
23 | `groupUUID` char(36) NOT NULL default '00000000-0000-0000-0000-000000000000', | ||
24 | `landingpoint` varchar(255) NOT NULL, | ||
25 | `parcelUUID` char(36) NOT NULL default '00000000-0000-0000-0000-000000000000', | ||
26 | `infoUUID` char(36) NOT NULL default '00000000-0000-0000-0000-000000000000', | ||
27 | `parcelarea` int(11) NOT NULL, | ||
28 | PRIMARY KEY (`parcelUUID`), | ||
29 | KEY `regionUUID` (`regionUUID`) | ||
30 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
31 | |||
32 | -- -------------------------------------------------------- | ||
33 | |||
34 | -- | ||
35 | -- Tabel structuur voor tabel `classifieds` | ||
36 | -- | ||
37 | |||
38 | CREATE TABLE `classifieds` ( | ||
39 | `classifieduuid` char(36) NOT NULL, | ||
40 | `creatoruuid` char(36) NOT NULL, | ||
41 | `creationdate` int(20) NOT NULL, | ||
42 | `expirationdate` int(20) NOT NULL, | ||
43 | `category` varchar(20) NOT NULL, | ||
44 | `name` varchar(255) NOT NULL, | ||
45 | `description` text NOT NULL, | ||
46 | `parceluuid` char(36) NOT NULL, | ||
47 | `parentestate` int(11) NOT NULL, | ||
48 | `snapshotuuid` char(36) NOT NULL, | ||
49 | `simname` varchar(255) NOT NULL, | ||
50 | `posglobal` varchar(255) NOT NULL, | ||
51 | `parcelname` varchar(255) NOT NULL, | ||
52 | `classifiedflags` int(8) NOT NULL, | ||
53 | `priceforlisting` int(5) NOT NULL, | ||
54 | PRIMARY KEY (`classifieduuid`) | ||
55 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
56 | |||
57 | -- -------------------------------------------------------- | ||
58 | |||
59 | -- | ||
60 | -- Tabel structuur voor tabel `events` | ||
61 | -- | ||
62 | |||
63 | CREATE TABLE `events` ( | ||
64 | `owneruuid` char(40) NOT NULL, | ||
65 | `name` varchar(255) NOT NULL, | ||
66 | `eventid` int(11) NOT NULL auto_increment, | ||
67 | `creatoruuid` char(40) NOT NULL, | ||
68 | `category` int(2) NOT NULL, | ||
69 | `description` text NOT NULL, | ||
70 | `dateUTC` int(10) NOT NULL, | ||
71 | `duration` int(3) NOT NULL, | ||
72 | `covercharge` tinyint(1) NOT NULL, | ||
73 | `coveramount` int(10) NOT NULL, | ||
74 | `simname` varchar(255) NOT NULL, | ||
75 | `globalPos` varchar(255) NOT NULL, | ||
76 | `eventflags` int(1) NOT NULL, | ||
77 | PRIMARY KEY (`eventid`) | ||
78 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; | ||
79 | |||
80 | -- -------------------------------------------------------- | ||
81 | |||
82 | -- | ||
83 | -- Tabel structuur voor tabel `hostsregister` | ||
84 | -- | ||
85 | |||
86 | CREATE TABLE `hostsregister` ( | ||
87 | `host` varchar(255) NOT NULL, | ||
88 | `port` int(5) NOT NULL, | ||
89 | `register` int(10) NOT NULL, | ||
90 | `nextcheck` int(10) NOT NULL, | ||
91 | `checked` tinyint(1) NOT NULL, | ||
92 | `failcounter` int(10) NOT NULL, | ||
93 | PRIMARY KEY (`host`,`port`) | ||
94 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
95 | |||
96 | -- -------------------------------------------------------- | ||
97 | |||
98 | -- | ||
99 | -- Tabel structuur voor tabel `objects` | ||
100 | -- | ||
101 | |||
102 | CREATE TABLE `objects` ( | ||
103 | `objectuuid` varchar(255) NOT NULL, | ||
104 | `parceluuid` varchar(255) NOT NULL, | ||
105 | `location` varchar(255) NOT NULL, | ||
106 | `name` varchar(255) NOT NULL, | ||
107 | `description` varchar(255) NOT NULL, | ||
108 | `regionuuid` varchar(255) NOT NULL default '', | ||
109 | PRIMARY KEY (`objectuuid`,`parceluuid`) | ||
110 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
111 | |||
112 | -- -------------------------------------------------------- | ||
113 | |||
114 | -- | ||
115 | -- Tabel structuur voor tabel `parcels` | ||
116 | -- | ||
117 | |||
118 | CREATE TABLE `parcels` ( | ||
119 | `regionUUID` varchar(255) NOT NULL, | ||
120 | `parcelname` varchar(255) NOT NULL, | ||
121 | `parcelUUID` varchar(255) NOT NULL, | ||
122 | `landingpoint` varchar(255) NOT NULL, | ||
123 | `description` varchar(255) NOT NULL, | ||
124 | `searchcategory` varchar(50) NOT NULL, | ||
125 | `build` enum('true','false') NOT NULL, | ||
126 | `script` enum('true','false') NOT NULL, | ||
127 | `public` enum('true','false') NOT NULL, | ||
128 | `dwell` float NOT NULL default '0', | ||
129 | `infouuid` varchar(255) NOT NULL default '', | ||
130 | `mature` varchar(10) NOT NULL default 'PG', | ||
131 | PRIMARY KEY (`regionUUID`,`parcelUUID`), | ||
132 | KEY `name` (`parcelname`), | ||
133 | KEY `description` (`description`), | ||
134 | KEY `searchcategory` (`searchcategory`), | ||
135 | KEY `dwell` (`dwell`) | ||
136 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
137 | |||
138 | -- -------------------------------------------------------- | ||
139 | |||
140 | -- | ||
141 | -- Tabel structuur voor tabel `parcelsales` | ||
142 | -- | ||
143 | |||
144 | CREATE TABLE `parcelsales` ( | ||
145 | `regionUUID` varchar(255) NOT NULL, | ||
146 | `parcelname` varchar(255) NOT NULL, | ||
147 | `parcelUUID` varchar(255) NOT NULL, | ||
148 | `area` int(6) NOT NULL, | ||
149 | `saleprice` int(11) NOT NULL, | ||
150 | `landingpoint` varchar(255) NOT NULL, | ||
151 | `infoUUID` char(36) NOT NULL default '00000000-0000-0000-0000-000000000000', | ||
152 | `dwell` int(11) NOT NULL, | ||
153 | `parentestate` int(11) NOT NULL default '1', | ||
154 | `mature` varchar(10) NOT NULL default 'PG', | ||
155 | PRIMARY KEY (`regionUUID`,`parcelUUID`) | ||
156 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
157 | |||
158 | -- -------------------------------------------------------- | ||
159 | |||
160 | -- | ||
161 | -- Tabel structuur voor tabel `popularplaces` | ||
162 | -- | ||
163 | |||
164 | CREATE TABLE `popularplaces` ( | ||
165 | `parcelUUID` char(36) NOT NULL, | ||
166 | `name` varchar(255) NOT NULL, | ||
167 | `dwell` float NOT NULL, | ||
168 | `infoUUID` char(36) NOT NULL, | ||
169 | `has_picture` tinyint(1) NOT NULL, | ||
170 | `mature` tinyint(4) NOT NULL | ||
171 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
172 | |||
173 | -- -------------------------------------------------------- | ||
174 | |||
175 | -- | ||
176 | -- Tabel structuur voor tabel `regions` | ||
177 | -- | ||
178 | |||
179 | CREATE TABLE `osregions` ( | ||
180 | `regionname` varchar(255) NOT NULL, | ||
181 | `regionuuid` varchar(255) NOT NULL, | ||
182 | `regionhandle` varchar(255) NOT NULL, | ||
183 | `url` varchar(255) NOT NULL, | ||
184 | `owner` varchar(255) NOT NULL, | ||
185 | `owneruuid` varchar(255) NOT NULL, | ||
186 | PRIMARY KEY (`regionuuid`) | ||
187 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||