-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsite.sql
307 lines (279 loc) · 13.7 KB
/
site.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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
/*
Navicat MySQL Data Transfer
Source Server : localhostWAMP
Source Server Version : 50612
Source Host : localhost:3306
Source Database : site
Target Server Type : MYSQL
Target Server Version : 50612
File Encoding : 65001
Date: 2014-03-12 19:49:57
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for osw_forum_board
-- ----------------------------
DROP TABLE IF EXISTS `osw_forum_board`;
CREATE TABLE `osw_forum_board` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`catid` varchar(11) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`desc` varchar(255) DEFAULT NULL,
`sort` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of osw_forum_board
-- ----------------------------
INSERT INTO `osw_forum_board` VALUES ('1', '1', 'Test', 'test board', '0');
-- ----------------------------
-- Table structure for osw_forum_cat
-- ----------------------------
DROP TABLE IF EXISTS `osw_forum_cat`;
CREATE TABLE `osw_forum_cat` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT NULL,
`sort` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of osw_forum_cat
-- ----------------------------
INSERT INTO `osw_forum_cat` VALUES ('1', 'Test cat', '0');
-- ----------------------------
-- Table structure for osw_forum_replies
-- ----------------------------
DROP TABLE IF EXISTS `osw_forum_replies`;
CREATE TABLE `osw_forum_replies` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`board_id` varchar(11) NOT NULL,
`topic_id` varchar(11) DEFAULT NULL,
`user` varchar(255) DEFAULT NULL,
`message` longtext,
`time` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of osw_forum_replies
-- ----------------------------
-- ----------------------------
-- Table structure for osw_forum_topic
-- ----------------------------
DROP TABLE IF EXISTS `osw_forum_topic`;
CREATE TABLE `osw_forum_topic` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`board_id` varchar(11) NOT NULL,
`title` varchar(255) DEFAULT NULL,
`message` longtext,
`time` varchar(255) DEFAULT NULL,
`user` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of osw_forum_topic
-- ----------------------------
INSERT INTO `osw_forum_topic` VALUES ('1', '1', 'Test topic', 'Test message', '1392913592', null);
-- ----------------------------
-- Table structure for osw_mainmenu
-- ----------------------------
DROP TABLE IF EXISTS `osw_mainmenu`;
CREATE TABLE `osw_mainmenu` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`url` varchar(255) NOT NULL,
`childof` varchar(255) NOT NULL DEFAULT '0',
`sortby` varchar(255) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of osw_mainmenu
-- ----------------------------
INSERT INTO `osw_mainmenu` VALUES ('1', 'Market', 'market/index.php', '0', '1');
INSERT INTO `osw_mainmenu` VALUES ('2', 'Search', 'search.php', '0', '2');
INSERT INTO `osw_mainmenu` VALUES ('3', 'Land Rentals', '', '0', '3');
INSERT INTO `osw_mainmenu` VALUES ('4', 'Private', '', '3', '1');
INSERT INTO `osw_mainmenu` VALUES ('5', 'Mainland', '', '3', '2');
INSERT INTO `osw_mainmenu` VALUES ('6', 'Self Hosted', '', '3', '3');
INSERT INTO `osw_mainmenu` VALUES ('7', 'Grid', '', '0', '4');
INSERT INTO `osw_mainmenu` VALUES ('8', 'News', '', '7', '1');
INSERT INTO `osw_mainmenu` VALUES ('9', 'Map', 'map.php', '7', '2');
INSERT INTO `osw_mainmenu` VALUES ('10', 'How to Connect', 'how2connect.php', '7', '3');
INSERT INTO `osw_mainmenu` VALUES ('11', 'Community', '', '0', '5');
INSERT INTO `osw_mainmenu` VALUES ('12', 'Forum', 'forum/', '11', '1');
-- ----------------------------
-- Table structure for osw_market_category
-- ----------------------------
DROP TABLE IF EXISTS `osw_market_category`;
CREATE TABLE `osw_market_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`childof` varchar(255) NOT NULL DEFAULT 'none',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=28 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of osw_market_category
-- ----------------------------
INSERT INTO `osw_market_category` VALUES ('1', 'Animals', 'none');
INSERT INTO `osw_market_category` VALUES ('2', 'Animations', 'none');
INSERT INTO `osw_market_category` VALUES ('3', 'Apparel', 'none');
INSERT INTO `osw_market_category` VALUES ('4', 'Art', 'none');
INSERT INTO `osw_market_category` VALUES ('5', 'Audio & Video', 'none');
INSERT INTO `osw_market_category` VALUES ('6', 'Avi Accessories', 'none');
INSERT INTO `osw_market_category` VALUES ('7', 'Avi Appearance', 'none');
INSERT INTO `osw_market_category` VALUES ('8', 'Avi Components', 'none');
INSERT INTO `osw_market_category` VALUES ('9', 'Breedables', 'none');
INSERT INTO `osw_market_category` VALUES ('10', 'Building Components', 'none');
INSERT INTO `osw_market_category` VALUES ('11', 'Building Structures', 'none');
INSERT INTO `osw_market_category` VALUES ('12', 'Business', 'none');
INSERT INTO `osw_market_category` VALUES ('13', 'Celebrations', 'none');
INSERT INTO `osw_market_category` VALUES ('14', 'Gadgets', 'none');
INSERT INTO `osw_market_category` VALUES ('15', 'Home & Garden', 'none');
INSERT INTO `osw_market_category` VALUES ('16', 'Misc', 'none');
INSERT INTO `osw_market_category` VALUES ('17', 'Scripts', 'none');
INSERT INTO `osw_market_category` VALUES ('18', 'Services', 'none');
INSERT INTO `osw_market_category` VALUES ('19', 'Vehicles', 'none');
INSERT INTO `osw_market_category` VALUES ('20', 'Weapons', 'none');
INSERT INTO `osw_market_category` VALUES ('21', 'Explosives', 'Weapons');
INSERT INTO `osw_market_category` VALUES ('22', 'Handguns', 'Weapons');
INSERT INTO `osw_market_category` VALUES ('23', 'Melee', 'Weapons');
INSERT INTO `osw_market_category` VALUES ('24', 'Non-Scripted', 'Weapons');
INSERT INTO `osw_market_category` VALUES ('25', 'Other', 'Weapons');
INSERT INTO `osw_market_category` VALUES ('26', 'Ranged', 'Weapons');
INSERT INTO `osw_market_category` VALUES ('27', 'Shields', 'Weapons');
-- ----------------------------
-- Table structure for osw_market_drop_box
-- ----------------------------
DROP TABLE IF EXISTS `osw_market_drop_box`;
CREATE TABLE `osw_market_drop_box` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`owner` varchar(255) NOT NULL,
`ownerkey` varchar(255) DEFAULT NULL,
`primkey` varchar(255) NOT NULL,
`primurl` varchar(255) NOT NULL,
`sim` varchar(255) NOT NULL,
`pos` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of osw_market_drop_box
-- ----------------------------
-- ----------------------------
-- Table structure for osw_market_drop_box_items
-- ----------------------------
DROP TABLE IF EXISTS `osw_market_drop_box_items`;
CREATE TABLE `osw_market_drop_box_items` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`owner` varchar(255) NOT NULL,
`ownerkey` varchar(255) DEFAULT NULL,
`boxid` varchar(255) NOT NULL,
`primkey` varchar(255) NOT NULL,
`itemname` varchar(255) NOT NULL,
`itemtype` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of osw_market_drop_box_items
-- ----------------------------
-- ----------------------------
-- Table structure for osw_market_products
-- ----------------------------
DROP TABLE IF EXISTS `osw_market_products`;
CREATE TABLE `osw_market_products` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`item_id` varchar(255) DEFAULT NULL,
`cat` varchar(255) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`info` longtext,
`features` longtext,
`img` varchar(255) DEFAULT NULL,
`other_imgs` varchar(255) DEFAULT NULL,
`seller` varchar(255) DEFAULT NULL,
`sales` varchar(255) DEFAULT NULL,
`price` varchar(255) DEFAULT NULL,
`permissions` char(8) DEFAULT NULL,
`version` char(10) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of osw_market_products
-- ----------------------------
INSERT INTO `osw_market_products` VALUES ('1', '1', 'Weapons', 'Fart Launcher', 'This gun is a test of my powerful smite', 'Fart-o-matic, Stink Launcher, Poop exploder', '', 'shit, fuck', 'Christina Vortex', '69', '666', 'C, M', '1');
-- ----------------------------
-- Table structure for osw_news
-- ----------------------------
DROP TABLE IF EXISTS `osw_news`;
CREATE TABLE `osw_news` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT NULL,
`msg` longtext,
`time` varchar(255) DEFAULT NULL,
`edit_time` varchar(255) DEFAULT NULL,
`poster` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of osw_news
-- ----------------------------
-- ----------------------------
-- Table structure for osw_sessions
-- ----------------------------
DROP TABLE IF EXISTS `osw_sessions`;
CREATE TABLE `osw_sessions` (
`id` varchar(255) NOT NULL,
`code` varchar(255) NOT NULL,
`time` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of osw_sessions
-- ----------------------------
-- ----------------------------
-- Table structure for osw_settings
-- ----------------------------
DROP TABLE IF EXISTS `osw_settings`;
CREATE TABLE `osw_settings` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`value` varchar(255) DEFAULT NULL,
`info` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=37 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of osw_settings
-- ----------------------------
INSERT INTO `osw_settings` VALUES ('1', 'robust_db', 'opensim', 'db name for grid logins');
INSERT INTO `osw_settings` VALUES ('2', 'group_db', 'opensim', 'db name for groups');
INSERT INTO `osw_settings` VALUES ('3', 'profile_db', 'opensim', 'db name for profiles');
INSERT INTO `osw_settings` VALUES ('4', 'search_db', 'opensim', 'db name for search related data');
INSERT INTO `osw_settings` VALUES ('5', 'SiteAddress', 'http://localhost', 'Site address of this site');
INSERT INTO `osw_settings` VALUES ('6', 'loginURI', 'http://localhost:9000', 'Login URL address for users to use to log into your grid');
INSERT INTO `osw_settings` VALUES ('7', 'GridNick', 'LHG', 'Grid\'s nickname');
INSERT INTO `osw_settings` VALUES ('8', 'GridName', 'Local Grid', 'Name of your grid');
INSERT INTO `osw_settings` VALUES ('9', 'PrimEmail', '@prims.localhost', 'This is used to email in world prims with data');
INSERT INTO `osw_settings` VALUES ('10', 'GridMoney', 'OS$', 'Currency icon seen at the top right of most viewers');
INSERT INTO `osw_settings` VALUES ('11', 'cookie_prefix', 'osw', null);
INSERT INTO `osw_settings` VALUES ('12', 'cookie_length', '1209600', null);
INSERT INTO `osw_settings` VALUES ('13', 'cookie_path', '/', null);
INSERT INTO `osw_settings` VALUES ('14', 'cookie_domain', 'localhost', null);
INSERT INTO `osw_settings` VALUES ('15', 'logout_redirect', 'index.php', null);
INSERT INTO `osw_settings` VALUES ('16', 'activation_type', '0', null);
INSERT INTO `osw_settings` VALUES ('17', 'security_image', 'yes', 'This will make people pass the recaptcha test');
INSERT INTO `osw_settings` VALUES ('18', 'redirect_type', '1', null);
INSERT INTO `osw_settings` VALUES ('19', 'max_password', '15', null);
INSERT INTO `osw_settings` VALUES ('20', 'min_password', '6', null);
INSERT INTO `osw_settings` VALUES ('21', 'Style', 'Default', 'Bootstrap style for this site. OSW uses the default bootstrap API system. No crappy WP system.');
INSERT INTO `osw_settings` VALUES ('22', 'Banner', '', null);
INSERT INTO `osw_settings` VALUES ('23', 'Logo', '', null);
INSERT INTO `osw_settings` VALUES ('24', 'Twitter', '', 'The twitter account for this grid.');
INSERT INTO `osw_settings` VALUES ('25', 'Facebook', '', 'The facebook account for this grid.');
INSERT INTO `osw_settings` VALUES ('26', 'min_sales_2b_featured', '10000', 'Min. amount of times a product must sell before it can be featured on the main market page');
INSERT INTO `osw_settings` VALUES ('27', 'site_admin_level', '100', 'Min. OpenSim UserLevel to access admin stuff on this site.');
INSERT INTO `osw_settings` VALUES ('28', 'DisqusShortName', 'opensimweb', 'For Disqus chat. Best to get a account at disqus.com');
INSERT INTO `osw_settings` VALUES ('29', 'SiteEmail', '[email protected]', 'Email address to use to send email to users such as when registering if activation_type is set to User');
INSERT INTO `osw_settings` VALUES ('30', 'TimeZone', 'America/Toronto', null);
INSERT INTO `osw_settings` VALUES ('31', 'ReCaptcha_Public_Key', '6LeIfPESAAAAAFi2CxcA24se170xQbiWer2HU9SQ', 'You need your own recaptcha keys here.');
INSERT INTO `osw_settings` VALUES ('32', 'ReCaptcha_Private_Key', '6LeIfPESAAAAAAzE7TQXXXXnvvUM50DXmHa9vZIR', 'Please visit http://www.google.com/recaptcha to get your own.');
INSERT INTO `osw_settings` VALUES ('33', 'Default_Female', '', 'Default Female avatar name to copy from when people log in for the first time.');
INSERT INTO `osw_settings` VALUES ('34', 'Default_Male', '', 'Default Male and Female feilds MUST be their name, not UUID key or it wont work.');
INSERT INTO `osw_settings` VALUES ('35', 'Default_Sim', '', 'Default sim name that all new users will have their home set to and login at.');
INSERT INTO `osw_settings` VALUES ('36', 'Default_Pos', '<128,128,30>', 'Default position in world. Example: <128,128,30>');