· 8 years ago · Nov 29, 2017, 09:02 PM
1CREATE DATABASE IF NOT EXISTS `lsrp` /*!40100 DEFAULT CHARACTER SET latin1 */;
2USE `lsrp`;
3
4-- Dump della struttura di tabella lsrp.accounts
5CREATE TABLE IF NOT EXISTS `accounts` (
6 `id` int(12) unsigned NOT NULL AUTO_INCREMENT,
7 `username` varchar(24) NOT NULL,
8 `password` varchar(256) NOT NULL,
9 `email` varchar(256) NOT NULL,
10 `admin_level` int(11) NOT NULL DEFAULT '0',
11 `banned` int(12) DEFAULT NULL,
12 `ban_time` int(12) DEFAULT NULL,
13 `login_date` varchar(36) DEFAULT NULL,
14 `ip` varchar(16) DEFAULT NULL,
15 `premium` int(12) DEFAULT '0',
16 `premium_expires` int(21) DEFAULT '0',
17 `coyn_points` int(12) DEFAULT '0',
18 `nick_change` int(12) DEFAULT '0',
19 `number_change` int(12) DEFAULT '0',
20 `plate_change` int(12) DEFAULT '0',
21 `last_ip` varchar(45) DEFAULT '-1',
22 `remember_token` varchar(100) DEFAULT NULL,
23 `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
24 `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
25 `max_slot` int(12) DEFAULT '3',
26 `confirmed` int(12) DEFAULT '1',
27 `register_token` varchar(50) DEFAULT NULL,
28 `recovery_password` varchar(50) DEFAULT NULL,
29 PRIMARY KEY (`id`),
30 UNIQUE KEY `Username` (`username`),
31 UNIQUE KEY `email` (`email`)
32) ENGINE=InnoDB AUTO_INCREMENT=1110 DEFAULT CHARSET=latin1;
33
34-- L’esportazione dei dati non era selezionata.
35-- Dump della struttura di tabella lsrp.account_bans
36CREATE TABLE IF NOT EXISTS `account_bans` (
37 `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
38 `account_id` int(11) NOT NULL,
39 `character_session_id` int(11) DEFAULT NULL,
40 `banner_id` int(11) NOT NULL,
41 `unbanner_id` int(11) DEFAULT NULL,
42 `reason` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
43 `banned_at` datetime NOT NULL,
44 `unbanned_at` datetime DEFAULT NULL,
45 PRIMARY KEY (`id`)
46) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
47
48-- L’esportazione dei dati non era selezionata.
49-- Dump della struttura di tabella lsrp.admin_notes
50CREATE TABLE IF NOT EXISTS `admin_notes` (
51 `id` int(11) NOT NULL AUTO_INCREMENT,
52 `character_id` int(11) NOT NULL,
53 `admin_id` int(11) NOT NULL,
54 `text` text NOT NULL,
55 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
56 PRIMARY KEY (`id`)
57) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=latin1;
58
59-- L’esportazione dei dati non era selezionata.
60-- Dump della struttura di tabella lsrp.admin_records
61CREATE TABLE IF NOT EXISTS `admin_records` (
62 `id` int(12) NOT NULL AUTO_INCREMENT,
63 `target_id` int(11) NOT NULL,
64 `admin_id` int(11) NOT NULL,
65 `reason` varchar(80) NOT NULL,
66 `type` varchar(20) NOT NULL,
67 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
68 PRIMARY KEY (`id`)
69) ENGINE=InnoDB AUTO_INCREMENT=836 DEFAULT CHARSET=latin1;
70
71-- L’esportazione dei dati non era selezionata.
72-- Dump della struttura di tabella lsrp.buildings
73CREATE TABLE IF NOT EXISTS `buildings` (
74 `id` int(12) NOT NULL AUTO_INCREMENT,
75 `owner_id` int(12) DEFAULT '0',
76 `faction_id` int(11) DEFAULT '-1',
77 `price` int(12) NOT NULL DEFAULT '0',
78 `pos_x` float NOT NULL DEFAULT '0',
79 `pos_y` float NOT NULL DEFAULT '0',
80 `pos_z` float NOT NULL DEFAULT '0',
81 `pos_int_x` float NOT NULL DEFAULT '0',
82 `pos_int_y` float NOT NULL DEFAULT '0',
83 `pos_int_z` float NOT NULL DEFAULT '0',
84 `interior` int(12) NOT NULL DEFAULT '0',
85 `pos_interior` int(12) NOT NULL DEFAULT '0',
86 `pos_world` int(12) NOT NULL DEFAULT '0',
87 `locked` int(4) NOT NULL DEFAULT '0',
88 `cash` int(12) NOT NULL DEFAULT '0',
89 `type` int(12) DEFAULT '0',
90 `entrance` int(12) DEFAULT '0',
91 `name` varchar(32) DEFAULT 'Nome',
92 `world` int(12) DEFAULT '0',
93 `products` int(12) DEFAULT '0',
94 `request_truck` int(12) DEFAULT '0',
95 `price_string` varchar(256) DEFAULT '0',
96 `alarm_level` int(11) NOT NULL DEFAULT '0',
97 PRIMARY KEY (`id`)
98) ENGINE=InnoDB AUTO_INCREMENT=508 DEFAULT CHARSET=latin1;
99
100-- L’esportazione dei dati non era selezionata.
101-- Dump della struttura di tabella lsrp.cctvs
102CREATE TABLE IF NOT EXISTS `cctvs` (
103 `id` int(12) NOT NULL AUTO_INCREMENT,
104 `name` varchar(50) NOT NULL,
105 `x` float NOT NULL,
106 `y` float NOT NULL,
107 `z` float NOT NULL,
108 `r_x` float NOT NULL,
109 `r_y` float NOT NULL,
110 `r_z` float NOT NULL,
111 `interior` int(12) NOT NULL,
112 `world` int(12) NOT NULL,
113 `faction` int(12) NOT NULL DEFAULT '-1',
114 PRIMARY KEY (`id`)
115) ENGINE=InnoDB AUTO_INCREMENT=63 DEFAULT CHARSET=latin1;
116
117-- L’esportazione dei dati non era selezionata.
118-- Dump della struttura di tabella lsrp.characters
119CREATE TABLE IF NOT EXISTS `characters` (
120 `id` int(12) NOT NULL AUTO_INCREMENT,
121 `account_id` int(11) DEFAULT NULL,
122 `char_name` varchar(24) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
123 `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
124 `sex` int(4) NOT NULL DEFAULT '0',
125 `skin` int(12) NOT NULL DEFAULT '0',
126 `spawn_x` float NOT NULL DEFAULT '0',
127 `spawn_y` float NOT NULL DEFAULT '0',
128 `spawn_z` float NOT NULL DEFAULT '0',
129 `spawn_angle` float NOT NULL DEFAULT '0',
130 `spawn_int` int(11) NOT NULL DEFAULT '0',
131 `spawn_vw` int(11) NOT NULL DEFAULT '0',
132 `cash` int(12) NOT NULL DEFAULT '0',
133 `cash_bank` int(12) NOT NULL DEFAULT '0',
134 `savings` int(11) NOT NULL DEFAULT '0',
135 `paycheck` int(11) NOT NULL DEFAULT '0',
136 `jail_time` int(12) NOT NULL DEFAULT '0',
137 `last_login` varchar(36) NOT NULL DEFAULT '0',
138 `house` int(12) NOT NULL DEFAULT '-1',
139 `biz` int(12) NOT NULL DEFAULT '-1',
140 `faction_id` int(12) NOT NULL DEFAULT '-1',
141 `faction_rank_id` int(12) NOT NULL DEFAULT '0',
142 `health` float NOT NULL DEFAULT '100',
143 `spawn_health` float NOT NULL DEFAULT '100',
144 `strength` int(12) DEFAULT NULL,
145 `upgrade_points` int(12) DEFAULT '0',
146 `experience` int(12) DEFAULT '0',
147 `original_skin` int(12) DEFAULT NULL,
148 `armour` float DEFAULT NULL,
149 `age` int(12) unsigned DEFAULT NULL,
150 `banned` int(12) DEFAULT NULL,
151 `ip` varchar(16) DEFAULT NULL,
152 `string_weapons` varchar(256) DEFAULT '0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|',
153 `level` int(12) NOT NULL DEFAULT '1',
154 `crashed` int(12) DEFAULT NULL,
155 `house_price` int(12) NOT NULL DEFAULT '-1',
156 `faction_duty` int(12) DEFAULT NULL,
157 `faction_skin` int(12) DEFAULT NULL,
158 `minutes` int(12) NOT NULL DEFAULT '60',
159 `playing_hours` int(12) DEFAULT '0',
160 `first_login` int(12) NOT NULL DEFAULT '1',
161 `telephone` int(12) DEFAULT NULL,
162 `drive_license` int(12) DEFAULT NULL,
163 `drive_license_warn` int(11) NOT NULL DEFAULT '0',
164 `spawn_point` int(12) NOT NULL DEFAULT '2',
165 `fly_license` int(12) DEFAULT NULL,
166 `boat_license` int(12) DEFAULT NULL,
167 `job` int(12) NOT NULL DEFAULT '-1',
168 `job_pay` int(12) DEFAULT '0',
169 `job_hours` int(12) DEFAULT NULL,
170 `frequence` int(12) NOT NULL DEFAULT '-1',
171 `hud` int(11) NOT NULL DEFAULT '1',
172 `transfer` varchar(32) NOT NULL DEFAULT 'Vuoto',
173 `helmet` int(12) DEFAULT NULL,
174 `hat` int(12) DEFAULT NULL,
175 `mask` int(12) DEFAULT NULL,
176 `shortcut` int(12) NOT NULL DEFAULT '0',
177 `division` varchar(12) NOT NULL DEFAULT '0|0|0|',
178 `favorite_skin` int(12) DEFAULT NULL,
179 `string_inventory` varchar(100) NOT NULL DEFAULT '0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|',
180 `string_drugs` varchar(256) NOT NULL DEFAULT '0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|',
181 `string_radio` varchar(128) NOT NULL DEFAULT '0|0|0|0|0|0|0|0|0|',
182 `jail_expires` int(11) NOT NULL DEFAULT '0',
183 `death` int(11) NOT NULL DEFAULT '0',
184 `bmx_permission` int(11) NOT NULL DEFAULT '0',
185 `boombox_permission` int(11) NOT NULL DEFAULT '0',
186 `tog_pm_permission` int(11) NOT NULL DEFAULT '0',
187 `tog_ooc_permission` int(11) NOT NULL DEFAULT '0',
188 `music_link` int(11) NOT NULL DEFAULT '0',
189 `new_skin` int(11) NOT NULL DEFAULT '1',
190 `deleted` int(12) NOT NULL DEFAULT '0',
191 `farmer_cps` int(12) NOT NULL DEFAULT '0',
192 `fishes` int(12) DEFAULT NULL,
193 `chat_style` int(11) NOT NULL DEFAULT '0',
194 `online` int(11) NOT NULL DEFAULT '0',
195 `fight_style` int(11) NOT NULL DEFAULT '4',
196 `house_spawn` int(12) NOT NULL DEFAULT '-1',
197 `toggle_armour` int(12) DEFAULT NULL,
198 `colored` int(12) DEFAULT NULL,
199 `masked` int(12) DEFAULT NULL,
200 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
201 `deleted_at` timestamp NULL DEFAULT NULL,
202 `poker_permission` int(12) DEFAULT '0',
203 PRIMARY KEY (`id`)
204) ENGINE=InnoDB AUTO_INCREMENT=2040 DEFAULT CHARSET=latin1;
205
206-- L’esportazione dei dati non era selezionata.
207-- Dump della struttura di tabella lsrp.character_applications
208CREATE TABLE IF NOT EXISTS `character_applications` (
209 `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
210 `character_id` int(11) DEFAULT NULL,
211 `account_id` int(11) NOT NULL,
212 `handler_id` int(11) DEFAULT '-1',
213 `ip_address` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
214 `char_name` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL,
215 `essay` text COLLATE utf8mb4_unicode_ci NOT NULL,
216 `wants_phone` int(11) NOT NULL DEFAULT '0',
217 `wants_license` int(11) NOT NULL DEFAULT '0',
218 `is_accepted` int(11) DEFAULT NULL,
219 `reason` text COLLATE utf8mb4_unicode_ci,
220 `handled_at` timestamp NULL DEFAULT NULL,
221 `created_at` timestamp NULL DEFAULT NULL,
222 `skin` int(11) DEFAULT NULL,
223 `sex` int(11) DEFAULT '0',
224 PRIMARY KEY (`id`)
225) ENGINE=InnoDB AUTO_INCREMENT=3274 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
226
227-- L’esportazione dei dati non era selezionata.
228-- Dump della struttura di tabella lsrp.character_application_answers
229CREATE TABLE IF NOT EXISTS `character_application_answers` (
230 `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
231 `application_id` int(11) DEFAULT NULL,
232 `question_id` int(11) DEFAULT NULL,
233 `answer` text COLLATE utf8mb4_unicode_ci,
234 `created_at` timestamp NULL DEFAULT NULL,
235 PRIMARY KEY (`id`)
236) ENGINE=InnoDB AUTO_INCREMENT=8691 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
237
238-- L’esportazione dei dati non era selezionata.
239-- Dump della struttura di tabella lsrp.cheat_words
240CREATE TABLE IF NOT EXISTS `cheat_words` (
241 `id` int(12) NOT NULL AUTO_INCREMENT,
242 `command` varchar(128) NOT NULL,
243 PRIMARY KEY (`id`)
244) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=latin1;
245
246-- L’esportazione dei dati non era selezionata.
247-- Dump della struttura di tabella lsrp.companies
248CREATE TABLE IF NOT EXISTS `companies` (
249 `id` int(12) NOT NULL AUTO_INCREMENT,
250 `name` varchar(32) NOT NULL,
251 `pos_x` float NOT NULL,
252 `pos_y` float NOT NULL,
253 `pos_z` float NOT NULL,
254 `type` int(12) NOT NULL,
255 `unit` int(12) NOT NULL,
256 `price` int(12) NOT NULL,
257 `interior` int(12) NOT NULL,
258 `world` int(12) NOT NULL,
259 PRIMARY KEY (`id`)
260) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;
261
262-- L’esportazione dei dati non era selezionata.
263-- Dump della struttura di tabella lsrp.custom_animations
264CREATE TABLE IF NOT EXISTS `custom_animations` (
265 `id` int(11) NOT NULL AUTO_INCREMENT,
266 `anim_lib` text NOT NULL,
267 `anim_name` text NOT NULL,
268 `anim_loop` int(11) NOT NULL,
269 `nickname` text NOT NULL,
270 `character_id` int(11) NOT NULL,
271 PRIMARY KEY (`id`)
272) ENGINE=InnoDB AUTO_INCREMENT=363 DEFAULT CHARSET=latin1;
273
274-- L’esportazione dei dati non era selezionata.
275-- Dump della struttura di tabella lsrp.dealers
276CREATE TABLE IF NOT EXISTS `dealers` (
277 `id` int(12) NOT NULL AUTO_INCREMENT,
278 `name` varchar(64) NOT NULL,
279 `pos_x` float NOT NULL,
280 `pos_y` float NOT NULL,
281 `pos_z` float NOT NULL,
282 `veh_x` float NOT NULL,
283 `veh_y` float NOT NULL,
284 `veh_z` float NOT NULL,
285 PRIMARY KEY (`id`)
286) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=latin1;
287
288-- L’esportazione dei dati non era selezionata.
289-- Dump della struttura di tabella lsrp.dealer_vehicles
290CREATE TABLE IF NOT EXISTS `dealer_vehicles` (
291 `id` int(12) NOT NULL AUTO_INCREMENT,
292 `dealer_id` int(12) NOT NULL,
293 `vehicle_model` int(12) NOT NULL,
294 `vehicle_name` varchar(128) NOT NULL,
295 `vehicle_price` int(12) NOT NULL,
296 PRIMARY KEY (`id`)
297) ENGINE=InnoDB AUTO_INCREMENT=160 DEFAULT CHARSET=latin1;
298
299-- L’esportazione dei dati non era selezionata.
300-- Dump della struttura di tabella lsrp.factions
301CREATE TABLE IF NOT EXISTS `factions` (
302 `id` int(12) NOT NULL AUTO_INCREMENT,
303 `name` varchar(32) NOT NULL,
304 `short_name` varchar(17) NOT NULL,
305 `color` int(12) NOT NULL DEFAULT '0',
306 `type` int(12) NOT NULL DEFAULT '0',
307 `spawn_x` float NOT NULL DEFAULT '0',
308 `spawn_y` float NOT NULL DEFAULT '0',
309 `spawn_z` float NOT NULL DEFAULT '0',
310 `spawn_int` int(12) NOT NULL DEFAULT '0',
311 `spawn_world` int(12) NOT NULL DEFAULT '0',
312 `cash` int(12) NOT NULL DEFAULT '0',
313 `default_male_skin` int(11) NOT NULL DEFAULT '0',
314 `default_female_skin` int(11) NOT NULL DEFAULT '0',
315 `import_limit` int(12) NOT NULL DEFAULT '2000',
316 `import_time` int(12) NOT NULL DEFAULT '0',
317 `import_count` int(12) NOT NULL DEFAULT '0',
318 `graffiti_enabled` int(12) DEFAULT '0',
319 PRIMARY KEY (`id`)
320) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=latin1;
321
322-- L’esportazione dei dati non era selezionata.
323-- Dump della struttura di tabella lsrp.factions_info
324CREATE TABLE IF NOT EXISTS `factions_info` (
325 `id` int(12) NOT NULL AUTO_INCREMENT,
326 `salary` int(12) NOT NULL,
327 `skin_id` int(12) NOT NULL,
328 `rank_name` varchar(80) NOT NULL DEFAULT 'Vuoto',
329 `slot` int(11) NOT NULL,
330 `faction_id` int(11) NOT NULL,
331 PRIMARY KEY (`id`)
332) ENGINE=InnoDB AUTO_INCREMENT=129 DEFAULT CHARSET=latin1;
333
334-- L’esportazione dei dati non era selezionata.
335-- Dump della struttura di tabella lsrp.frequencies
336CREATE TABLE IF NOT EXISTS `frequencies` (
337 `id` int(12) NOT NULL AUTO_INCREMENT,
338 `channel` int(12) NOT NULL,
339 `password` varchar(32) NOT NULL,
340 `faction_id` int(12) DEFAULT '-1',
341 `owner_id` int(12) DEFAULT NULL,
342 `hour` int(12) NOT NULL,
343 PRIMARY KEY (`id`)
344) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
345
346-- L’esportazione dei dati non era selezionata.
347-- Dump della struttura di tabella lsrp.furnitures
348CREATE TABLE IF NOT EXISTS `furnitures` (
349 `id` int(12) NOT NULL AUTO_INCREMENT,
350 `name` varchar(100) NOT NULL,
351 `model` int(12) NOT NULL,
352 `price` int(12) NOT NULL,
353 `pos_x` float NOT NULL,
354 `pos_y` float NOT NULL,
355 `pos_z` float NOT NULL,
356 `rot_x` float NOT NULL,
357 `rot_y` float NOT NULL,
358 `rot_z` float NOT NULL,
359 `interior` int(12) NOT NULL,
360 `object_id` int(12) NOT NULL,
361 `world` int(12) NOT NULL,
362 PRIMARY KEY (`id`)
363) ENGINE=InnoDB AUTO_INCREMENT=53166 DEFAULT CHARSET=latin1;
364
365-- L’esportazione dei dati non era selezionata.
366-- Dump della struttura di tabella lsrp.games
367CREATE TABLE IF NOT EXISTS `games` (
368 `id` int(12) NOT NULL AUTO_INCREMENT,
369 `x` float NOT NULL,
370 `y` float NOT NULL,
371 `z` float NOT NULL,
372 `world` int(12) NOT NULL,
373 `interior` int(12) NOT NULL,
374 `type` int(12) NOT NULL,
375 PRIMARY KEY (`id`)
376) ENGINE=InnoDB AUTO_INCREMENT=96 DEFAULT CHARSET=latin1;
377
378-- L’esportazione dei dati non era selezionata.
379-- Dump della struttura di tabella lsrp.gates
380CREATE TABLE IF NOT EXISTS `gates` (
381 `id` int(12) NOT NULL AUTO_INCREMENT,
382 `close_pos_x` float DEFAULT NULL,
383 `close_pos_y` float DEFAULT NULL,
384 `close_pos_z` float DEFAULT NULL,
385 `close_rot_x` float DEFAULT NULL,
386 `close_rot_y` float DEFAULT NULL,
387 `close_rot_z` float DEFAULT NULL,
388 `open_pos_x` float DEFAULT NULL,
389 `open_pos_y` float DEFAULT NULL,
390 `open_pos_z` float DEFAULT NULL,
391 `open_rot_x` float DEFAULT NULL,
392 `open_rot_y` float DEFAULT NULL,
393 `open_rot_z` float DEFAULT NULL,
394 `faction_id` int(11) DEFAULT '-1',
395 `owner_id` int(11) DEFAULT '-1',
396 `model_id` int(11) DEFAULT NULL,
397 PRIMARY KEY (`id`)
398) ENGINE=InnoDB DEFAULT CHARSET=latin1;
399
400-- L’esportazione dei dati non era selezionata.
401-- Dump della struttura di tabella lsrp.graffitis
402CREATE TABLE IF NOT EXISTS `graffitis` (
403 `id` int(12) NOT NULL AUTO_INCREMENT,
404 `text` varchar(256) NOT NULL DEFAULT 'Graffito',
405 `x` float NOT NULL,
406 `y` float NOT NULL,
407 `z` float NOT NULL,
408 `r_x` float NOT NULL,
409 `r_y` float NOT NULL,
410 `r_z` float NOT NULL,
411 `size` int(12) NOT NULL DEFAULT '24',
412 `font` varchar(30) NOT NULL DEFAULT 'Arial',
413 PRIMARY KEY (`id`)
414) ENGINE=InnoDB AUTO_INCREMENT=104 DEFAULT CHARSET=latin1;
415
416-- L’esportazione dei dati non era selezionata.
417-- Dump della struttura di tabella lsrp.houses
418CREATE TABLE IF NOT EXISTS `houses` (
419 `id` int(12) NOT NULL AUTO_INCREMENT,
420 `owner_id` int(12) DEFAULT '-1',
421 `price` int(12) NOT NULL DEFAULT '0',
422 `pos_x` float NOT NULL DEFAULT '0',
423 `pos_y` float NOT NULL DEFAULT '0',
424 `pos_z` float NOT NULL DEFAULT '0',
425 `pos_int_x` float NOT NULL DEFAULT '0',
426 `pos_int_y` float NOT NULL DEFAULT '0',
427 `pos_int_z` float NOT NULL DEFAULT '0',
428 `inv_pos_x` float NOT NULL DEFAULT '-1',
429 `inv_pos_y` float NOT NULL DEFAULT '-1',
430 `inv_pos_z` float NOT NULL DEFAULT '-1',
431 `interior` int(12) NOT NULL DEFAULT '0',
432 `pos_interior` int(12) NOT NULL DEFAULT '0',
433 `pos_world` int(12) NOT NULL DEFAULT '0',
434 `locked` int(4) NOT NULL DEFAULT '1',
435 `cash` int(12) NOT NULL DEFAULT '0',
436 `world` int(12) NOT NULL DEFAULT '1000',
437 `complex` int(12) NOT NULL DEFAULT '-1',
438 `ig_interior` int(11) NOT NULL DEFAULT '0',
439 `string_inventory` varchar(100) DEFAULT NULL,
440 PRIMARY KEY (`id`)
441) ENGINE=InnoDB AUTO_INCREMENT=1169 DEFAULT CHARSET=latin1;
442
443-- L’esportazione dei dati non era selezionata.
444-- Dump della struttura di tabella lsrp.illegal_industries
445CREATE TABLE IF NOT EXISTS `illegal_industries` (
446 `id` int(11) NOT NULL AUTO_INCREMENT,
447 `pos_x` float NOT NULL,
448 `pos_y` float NOT NULL,
449 `pos_z` float NOT NULL,
450 `refresh_amount` int(11) NOT NULL DEFAULT '500',
451 `refresh_time` int(11) NOT NULL,
452 `ingredients` varchar(512) NOT NULL DEFAULT '0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|',
453 PRIMARY KEY (`id`)
454) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=latin1;
455
456-- L’esportazione dei dati non era selezionata.
457-- Dump della struttura di tabella lsrp.importable
458CREATE TABLE IF NOT EXISTS `importable` (
459 `enum_id` int(12) NOT NULL,
460 `importable` int(12) NOT NULL,
461 `price` int(12) NOT NULL
462) ENGINE=InnoDB DEFAULT CHARSET=latin1;
463
464-- L’esportazione dei dati non era selezionata.
465-- Dump della struttura di tabella lsrp.laboratories
466CREATE TABLE IF NOT EXISTS `laboratories` (
467 `id` int(12) NOT NULL AUTO_INCREMENT,
468 `owner_id` int(11) DEFAULT NULL,
469 `level` int(12) NOT NULL DEFAULT '1',
470 `interior` int(11) NOT NULL,
471 `world` int(11) NOT NULL,
472 `faction` int(11) NOT NULL,
473 `pos_x` float NOT NULL,
474 `pos_y` float NOT NULL,
475 `pos_z` float NOT NULL,
476 `drugs` varchar(50) NOT NULL DEFAULT '0|0|0|0|0|0|0|0|0|0|0|0|',
477 `producing` varchar(128) NOT NULL DEFAULT '0|0|0|0|0|0|0|0|0|0|0|0|',
478 `producing_quantity` varchar(256) NOT NULL DEFAULT '0|0|0|0|0|0|0|0|0|0|0|0|',
479 `producing_quality` varchar(256) NOT NULL DEFAULT '0|0|0|0|0|0|0|0|0|0|0|0|',
480 `producing_expires` varchar(1024) NOT NULL DEFAULT '0|0|0|0|0|0|0|0|0|0|0|0|',
481 PRIMARY KEY (`id`)
482) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=latin1;
483
484-- L’esportazione dei dati non era selezionata.
485-- Dump della struttura di tabella lsrp.loaded_furnitures
486CREATE TABLE IF NOT EXISTS `loaded_furnitures` (
487 `id` int(12) NOT NULL AUTO_INCREMENT,
488 `world` int(12) NOT NULL,
489 PRIMARY KEY (`id`)
490) ENGINE=InnoDB AUTO_INCREMENT=13009 DEFAULT CHARSET=latin1;
491
492-- L’esportazione dei dati non era selezionata.
493-- Dump della struttura di tabella lsrp.news
494CREATE TABLE IF NOT EXISTS `news` (
495 `id` int(11) NOT NULL AUTO_INCREMENT,
496 `admin` int(11) DEFAULT NULL,
497 `text` longtext,
498 `title` text,
499 `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
500 PRIMARY KEY (`id`)
501) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
502
503-- L’esportazione dei dati non era selezionata.
504-- Dump della struttura di tabella lsrp.payphones
505CREATE TABLE IF NOT EXISTS `payphones` (
506 `id` int(12) NOT NULL AUTO_INCREMENT,
507 `pos_x` float NOT NULL,
508 `pos_y` float NOT NULL,
509 `pos_z` float NOT NULL,
510 `rot_x` float NOT NULL,
511 `rot_y` float NOT NULL,
512 `rot_z` float NOT NULL,
513 `number` int(11) NOT NULL,
514 PRIMARY KEY (`id`)
515) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=latin1;
516
517-- L’esportazione dei dati non era selezionata.
518-- Dump della struttura di tabella lsrp.phonebooks
519CREATE TABLE IF NOT EXISTS `phonebooks` (
520 `id` int(12) NOT NULL AUTO_INCREMENT,
521 `name` varchar(32) NOT NULL,
522 `owner_number` int(12) NOT NULL,
523 `number` int(12) NOT NULL,
524 PRIMARY KEY (`id`)
525) ENGINE=InnoDB AUTO_INCREMENT=4524 DEFAULT CHARSET=latin1;
526
527-- L’esportazione dei dati non era selezionata.
528-- Dump della struttura di tabella lsrp.phones
529CREATE TABLE IF NOT EXISTS `phones` (
530 `id` int(12) NOT NULL AUTO_INCREMENT,
531 `number` varchar(50) NOT NULL,
532 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
533 `biz` int(11) NOT NULL DEFAULT '-1',
534 `owner` varchar(24) DEFAULT NULL,
535 PRIMARY KEY (`id`)
536) ENGINE=InnoDB AUTO_INCREMENT=2375 DEFAULT CHARSET=latin1;
537
538-- L’esportazione dei dati non era selezionata.
539-- Dump della struttura di tabella lsrp.phone_logs
540CREATE TABLE IF NOT EXISTS `phone_logs` (
541 `id` int(11) NOT NULL AUTO_INCREMENT,
542 `text` text NOT NULL,
543 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
544 `caller_number` int(12) NOT NULL,
545 `receiver_number` int(12) NOT NULL,
546 `type` int(12) NOT NULL DEFAULT '0',
547 `deleted_at` timestamp NULL DEFAULT NULL,
548 PRIMARY KEY (`id`)
549) ENGINE=InnoDB AUTO_INCREMENT=37305 DEFAULT CHARSET=latin1;
550
551-- L’esportazione dei dati non era selezionata.
552-- Dump della struttura di tabella lsrp.points
553CREATE TABLE IF NOT EXISTS `points` (
554 `id` int(12) NOT NULL AUTO_INCREMENT,
555 `name` varchar(50) NOT NULL,
556 `x` float NOT NULL,
557 `y` float NOT NULL,
558 `z` float NOT NULL,
559 PRIMARY KEY (`id`)
560) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1;
561
562-- L’esportazione dei dati non era selezionata.
563-- Dump della struttura di tabella lsrp.police_arrest_records
564CREATE TABLE IF NOT EXISTS `police_arrest_records` (
565 `id` int(12) NOT NULL AUTO_INCREMENT,
566 `target` varchar(24) DEFAULT NULL,
567 `officer` varchar(24) NOT NULL,
568 `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
569 `record` text,
570 PRIMARY KEY (`id`)
571) ENGINE=InnoDB AUTO_INCREMENT=847 DEFAULT CHARSET=latin1;
572
573-- L’esportazione dei dati non era selezionata.
574-- Dump della struttura di tabella lsrp.police_crime_records
575CREATE TABLE IF NOT EXISTS `police_crime_records` (
576 `id` int(12) NOT NULL AUTO_INCREMENT,
577 `record_id` int(12) NOT NULL DEFAULT '-1',
578 `crime` varchar(200) NOT NULL,
579 `type` int(12) NOT NULL DEFAULT '0',
580 `wanted_id` int(12) NOT NULL DEFAULT '-1',
581 PRIMARY KEY (`id`)
582) ENGINE=InnoDB AUTO_INCREMENT=1921 DEFAULT CHARSET=latin1;
583
584-- L’esportazione dei dati non era selezionata.
585-- Dump della struttura di tabella lsrp.police_fine_records
586CREATE TABLE IF NOT EXISTS `police_fine_records` (
587 `id` int(12) NOT NULL AUTO_INCREMENT,
588 `officer` varchar(24) DEFAULT NULL,
589 `amount` int(12) NOT NULL,
590 `target` varchar(24) DEFAULT NULL,
591 `vehicle_id` int(12) DEFAULT NULL,
592 `reason` varchar(64) NOT NULL,
593 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
594 PRIMARY KEY (`id`)
595) ENGINE=InnoDB AUTO_INCREMENT=437 DEFAULT CHARSET=latin1;
596
597-- L’esportazione dei dati non era selezionata.
598-- Dump della struttura di tabella lsrp.questions
599CREATE TABLE IF NOT EXISTS `questions` (
600 `id` int(11) NOT NULL AUTO_INCREMENT,
601 `type` varchar(255) DEFAULT NULL,
602 `question` text NOT NULL,
603 PRIMARY KEY (`id`)
604) ENGINE=InnoDB AUTO_INCREMENT=59 DEFAULT CHARSET=latin1;
605
606-- L’esportazione dei dati non era selezionata.
607-- Dump della struttura di tabella lsrp.radio_authorized
608CREATE TABLE IF NOT EXISTS `radio_authorized` (
609 `id` int(11) NOT NULL,
610 `channel` int(11) NOT NULL
611) ENGINE=InnoDB DEFAULT CHARSET=latin1;
612
613-- L’esportazione dei dati non era selezionata.
614-- Dump della struttura di tabella lsrp.radio_links
615CREATE TABLE IF NOT EXISTS `radio_links` (
616 `id` int(11) NOT NULL AUTO_INCREMENT,
617 `name` varchar(64) NOT NULL,
618 `link` varchar(128) NOT NULL,
619 PRIMARY KEY (`id`)
620) ENGINE=InnoDB AUTO_INCREMENT=71 DEFAULT CHARSET=latin1;
621
622-- L’esportazione dei dati non era selezionata.
623-- Dump della struttura di tabella lsrp.refunds
624CREATE TABLE IF NOT EXISTS `refunds` (
625 `id` int(12) NOT NULL AUTO_INCREMENT,
626 `character_id` int(12) NOT NULL,
627 `item` int(12) NOT NULL,
628 `amount` int(12) NOT NULL,
629 `extra` int(12) NOT NULL,
630 `admin_id` int(12) NOT NULL,
631 `refunded` int(12) NOT NULL,
632 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
633 `thread` int(11) DEFAULT NULL,
634 PRIMARY KEY (`id`)
635) ENGINE=InnoDB AUTO_INCREMENT=78 DEFAULT CHARSET=latin1;
636
637-- L’esportazione dei dati non era selezionata.
638-- Dump della struttura di tabella lsrp.scramble_words
639CREATE TABLE IF NOT EXISTS `scramble_words` (
640 `id` int(11) NOT NULL AUTO_INCREMENT,
641 `word` varchar(64) NOT NULL,
642 `level` int(11) NOT NULL,
643 PRIMARY KEY (`id`),
644 UNIQUE KEY `word` (`word`)
645) ENGINE=InnoDB AUTO_INCREMENT=1104 DEFAULT CHARSET=latin1;
646
647-- L’esportazione dei dati non era selezionata.
648-- Dump della struttura di tabella lsrp.staffrequests
649CREATE TABLE IF NOT EXISTS `staffrequests` (
650 `id` int(12) unsigned NOT NULL AUTO_INCREMENT,
651 `owner_id` int(12) NOT NULL,
652 `text` varchar(128) NOT NULL,
653 `target` int(12) NOT NULL DEFAULT '-1',
654 `type` int(12) NOT NULL,
655 `time` int(11) NOT NULL,
656 PRIMARY KEY (`id`)
657) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
658
659-- L’esportazione dei dati non era selezionata.
660-- Dump della struttura di tabella lsrp.surveillance_bugs
661CREATE TABLE IF NOT EXISTS `surveillance_bugs` (
662 `id` int(11) NOT NULL AUTO_INCREMENT,
663 `type` int(11) NOT NULL,
664 `owner_id` int(11) NOT NULL,
665 `subject_id` int(11) NOT NULL,
666 `private` int(11) NOT NULL,
667 `expires` int(11) NOT NULL,
668 `enabled` int(11) NOT NULL DEFAULT '1',
669 `pos_x` float NOT NULL DEFAULT '0',
670 `pos_y` float NOT NULL DEFAULT '0',
671 `pos_z` float NOT NULL DEFAULT '0',
672 PRIMARY KEY (`id`)
673) ENGINE=InnoDB AUTO_INCREMENT=65 DEFAULT CHARSET=latin1;
674
675-- L’esportazione dei dati non era selezionata.
676-- Dump della struttura di tabella lsrp.taxes
677CREATE TABLE IF NOT EXISTS `taxes` (
678 `trucker_tax` int(11) NOT NULL DEFAULT '100',
679 `heal_tax` int(11) NOT NULL DEFAULT '75',
680 `vehicle_tax` int(11) NOT NULL DEFAULT '20',
681 `house_tax` int(11) NOT NULL DEFAULT '200',
682 `business_tax` int(11) NOT NULL DEFAULT '500',
683 `complex_tax` int(11) NOT NULL DEFAULT '1200',
684 `toll_tax` int(11) NOT NULL DEFAULT '50'
685) ENGINE=InnoDB DEFAULT CHARSET=latin1;
686
687-- L’esportazione dei dati non era selezionata.
688-- Dump della struttura di tabella lsrp.teleports
689CREATE TABLE IF NOT EXISTS `teleports` (
690 `id` int(12) NOT NULL AUTO_INCREMENT,
691 `pos_x` float NOT NULL,
692 `pos_y` float NOT NULL,
693 `pos_z` float NOT NULL,
694 `pos_a` float NOT NULL DEFAULT '0',
695 `pos_world` float NOT NULL,
696 `goto_x` float NOT NULL,
697 `goto_y` float NOT NULL,
698 `goto_z` float NOT NULL,
699 `goto_a` float NOT NULL,
700 `goto_world` float NOT NULL,
701 `faction_id` int(12) DEFAULT '-1',
702 `pos_interior` int(12) NOT NULL,
703 `goto_interior` int(12) NOT NULL,
704 PRIMARY KEY (`id`)
705) ENGINE=InnoDB AUTO_INCREMENT=134 DEFAULT CHARSET=latin1;
706
707-- L’esportazione dei dati non era selezionata.
708-- Dump della struttura di tabella lsrp.textures
709CREATE TABLE IF NOT EXISTS `textures` (
710 `id` int(12) NOT NULL AUTO_INCREMENT,
711 `material` int(12) NOT NULL,
712 `txd_name` varchar(64) NOT NULL,
713 `text_name` varchar(64) NOT NULL,
714 `furniture` int(12) NOT NULL,
715 `f_index` int(12) NOT NULL,
716 `confirmed` int(12) NOT NULL,
717 PRIMARY KEY (`id`)
718) ENGINE=InnoDB AUTO_INCREMENT=17087 DEFAULT CHARSET=latin1;
719
720-- L’esportazione dei dati non era selezionata.
721-- Dump della struttura di tabella lsrp.time_interiors
722CREATE TABLE IF NOT EXISTS `time_interiors` (
723 `id` int(12) NOT NULL AUTO_INCREMENT,
724 `time` int(12) DEFAULT '15',
725 `world` int(12) DEFAULT '1000',
726 PRIMARY KEY (`id`)
727) ENGINE=InnoDB AUTO_INCREMENT=3239 DEFAULT CHARSET=latin1;
728
729-- L’esportazione dei dati non era selezionata.
730-- Dump della struttura di tabella lsrp.tolls
731CREATE TABLE IF NOT EXISTS `tolls` (
732 `id` int(11) NOT NULL AUTO_INCREMENT,
733 `pos_x_opened` float NOT NULL,
734 `pos_y_opened` float NOT NULL,
735 `pos_z_opened` float NOT NULL,
736 `rot_x_opened` float NOT NULL,
737 `rot_y_opened` float NOT NULL,
738 `rot_z_opened` float NOT NULL,
739 `pos_x_closed` float NOT NULL,
740 `pos_y_closed` float NOT NULL,
741 `pos_z_closed` float NOT NULL,
742 `rot_x_closed` float NOT NULL,
743 `rot_y_closed` float NOT NULL,
744 `rot_z_closed` float NOT NULL,
745 PRIMARY KEY (`id`)
746) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;
747
748-- L’esportazione dei dati non era selezionata.
749-- Dump della struttura di tabella lsrp.transfer_logs
750CREATE TABLE IF NOT EXISTS `transfer_logs` (
751 `id` int(12) NOT NULL AUTO_INCREMENT,
752 `giver_character_id` int(11) NOT NULL,
753 `receiver_character_id` int(11) NOT NULL,
754 `command` varchar(50) NOT NULL,
755 `extra_var` int(12) NOT NULL,
756 `second_extra_var` int(12) NOT NULL,
757 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
758 `type` int(12) NOT NULL DEFAULT '2',
759 `ip` varchar(16) NOT NULL,
760 PRIMARY KEY (`id`)
761) ENGINE=InnoDB AUTO_INCREMENT=1618050 DEFAULT CHARSET=latin1;
762
763-- L’esportazione dei dati non era selezionata.
764-- Dump della struttura di tabella lsrp.ucp_alerts
765CREATE TABLE IF NOT EXISTS `ucp_alerts` (
766 `id` int(11) NOT NULL AUTO_INCREMENT,
767 `account` int(11) NOT NULL,
768 `object` text NOT NULL,
769 `text` longtext NOT NULL,
770 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
771 `opened` tinyint(1) NOT NULL DEFAULT '0',
772 `visible` tinyint(1) NOT NULL DEFAULT '0',
773 `archived` tinyint(1) NOT NULL DEFAULT '0',
774 PRIMARY KEY (`id`)
775) ENGINE=InnoDB AUTO_INCREMENT=3095 DEFAULT CHARSET=latin1;
776
777-- L’esportazione dei dati non era selezionata.
778-- Dump della struttura di tabella lsrp.ucp_logs
779CREATE TABLE IF NOT EXISTS `ucp_logs` (
780 `id` int(12) NOT NULL AUTO_INCREMENT,
781 `account_id` int(12) DEFAULT NULL,
782 `receiver_id` int(12) DEFAULT NULL,
783 `action` varchar(50) DEFAULT NULL,
784 `parameter` varchar(50) DEFAULT NULL,
785 `ip` varchar(16) DEFAULT NULL,
786 `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
787 PRIMARY KEY (`id`)
788) ENGINE=InnoDB AUTO_INCREMENT=6460 DEFAULT CHARSET=latin1;
789
790-- L’esportazione dei dati non era selezionata.
791-- Dump della struttura di tabella lsrp.user_keys
792CREATE TABLE IF NOT EXISTS `user_keys` (
793 `id` int(11) NOT NULL AUTO_INCREMENT,
794 `owner_id` int(11) NOT NULL,
795 `type` int(12) NOT NULL,
796 `subject_id` int(11) NOT NULL,
797 `subject_type` varchar(256) NOT NULL,
798 `expired` int(11) NOT NULL DEFAULT '0',
799 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
800 PRIMARY KEY (`id`)
801) ENGINE=InnoDB AUTO_INCREMENT=2261 DEFAULT CHARSET=latin1;
802
803-- L’esportazione dei dati non era selezionata.
804-- Dump della struttura di tabella lsrp.user_objects
805CREATE TABLE IF NOT EXISTS `user_objects` (
806 `id` int(12) NOT NULL AUTO_INCREMENT,
807 `character_id` int(11) NOT NULL,
808 `var` int(11) NOT NULL,
809 `slot` int(11) NOT NULL,
810 `model` int(11) NOT NULL,
811 `bone` int(11) NOT NULL,
812 `offset_x` float NOT NULL,
813 `offset_y` float NOT NULL,
814 `offset_z` float NOT NULL,
815 `rot_x` float NOT NULL,
816 `rot_y` float NOT NULL,
817 `rot_z` float NOT NULL,
818 `scale_x` float NOT NULL,
819 `scale_y` float NOT NULL,
820 `scale_z` float NOT NULL,
821 `color1` int(11) NOT NULL,
822 `color2` int(11) NOT NULL,
823 PRIMARY KEY (`id`)
824) ENGINE=InnoDB AUTO_INCREMENT=5745 DEFAULT CHARSET=latin1;
825
826-- L’esportazione dei dati non era selezionata.
827-- Dump della struttura di tabella lsrp.vehicles
828CREATE TABLE IF NOT EXISTS `vehicles` (
829 `id` int(11) NOT NULL AUTO_INCREMENT,
830 `owner_id` int(12) DEFAULT '-1',
831 `plate` varchar(16) NOT NULL,
832 `model` int(12) NOT NULL,
833 `color0` int(12) NOT NULL,
834 `color1` int(12) NOT NULL,
835 `pos_x` float NOT NULL,
836 `pos_y` float NOT NULL,
837 `pos_z` float NOT NULL,
838 `pos_a` float NOT NULL,
839 `faction` int(12) NOT NULL DEFAULT '65535',
840 `health` float NOT NULL DEFAULT '1000',
841 `max_health` float NOT NULL DEFAULT '1000',
842 `locked` int(12) NOT NULL DEFAULT '0',
843 `panels` int(12) NOT NULL DEFAULT '0',
844 `doors` int(12) NOT NULL DEFAULT '0',
845 `lights` int(12) NOT NULL DEFAULT '0',
846 `tires` int(12) NOT NULL DEFAULT '0',
847 `engine` int(12) NOT NULL DEFAULT '0',
848 `price` int(12) NOT NULL DEFAULT '0',
849 `fuel` int(12) NOT NULL DEFAULT '100',
850 `engine_health` float NOT NULL DEFAULT '100',
851 `battery_health` float NOT NULL DEFAULT '100',
852 `door_health` float NOT NULL DEFAULT '300',
853 `components` int(12) NOT NULL DEFAULT '0',
854 `string_inventory` varchar(256) NOT NULL DEFAULT '0',
855 `string_extra` varchar(256) NOT NULL,
856 `interior` int(12) NOT NULL DEFAULT '0',
857 `world` int(12) NOT NULL DEFAULT '0',
858 `impounded` int(11) NOT NULL DEFAULT '0',
859 `spawned` int(12) NOT NULL DEFAULT '0',
860 `job` int(12) NOT NULL DEFAULT '-1',
861 `alarm` int(11) NOT NULL DEFAULT '0',
862 `insurance` int(11) NOT NULL DEFAULT '0',
863 `door_level` int(11) NOT NULL DEFAULT '0',
864 `tuning` varchar(64) DEFAULT NULL,
865 `paintjob` int(12) NOT NULL DEFAULT '3',
866 `unregistered` int(12) DEFAULT '0',
867 PRIMARY KEY (`id`)
868) ENGINE=InnoDB AUTO_INCREMENT=4960 DEFAULT CHARSET=latin1;
869
870-- L’esportazione dei dati non era selezionata.
871-- Dump della struttura di tabella lsrp.vehicles_impounded
872CREATE TABLE IF NOT EXISTS `vehicles_impounded` (
873 `id` int(11) NOT NULL AUTO_INCREMENT,
874 `vehicle_id` int(11) NOT NULL,
875 `officer` varchar(24) DEFAULT NULL,
876 `reason` text NOT NULL,
877 `expires` int(11) NOT NULL,
878 `price` int(11) NOT NULL,
879 `model` text NOT NULL,
880 `plate` varchar(8) NOT NULL,
881 `owner_id` int(12) NOT NULL,
882 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
883 PRIMARY KEY (`id`)
884) ENGINE=InnoDB AUTO_INCREMENT=360 DEFAULT CHARSET=latin1;
885
886-- L’esportazione dei dati non era selezionata.
887-- Dump della struttura di tabella lsrp.vehicle_trunks
888CREATE TABLE IF NOT EXISTS `vehicle_trunks` (
889 `id` int(12) NOT NULL AUTO_INCREMENT,
890 `pos_x` float NOT NULL DEFAULT '0',
891 `pos_y` float NOT NULL DEFAULT '0',
892 `pos_z` float NOT NULL DEFAULT '0',
893 `rot_x` float NOT NULL DEFAULT '0',
894 `rot_y` float NOT NULL DEFAULT '0',
895 `rot_z` float NOT NULL DEFAULT '0',
896 `slot` int(12) NOT NULL,
897 `vehicle_id` int(12) DEFAULT NULL,
898 PRIMARY KEY (`id`)
899) ENGINE=InnoDB AUTO_INCREMENT=1259 DEFAULT CHARSET=latin1;
900
901-- L’esportazione dei dati non era selezionata.
902-- Dump della struttura di tabella lsrp.wanteds
903CREATE TABLE IF NOT EXISTS `wanteds` (
904 `id` int(11) NOT NULL AUTO_INCREMENT,
905 `officer` varchar(24) DEFAULT NULL,
906 `target` varchar(24) DEFAULT NULL,
907 `location` varchar(28) NOT NULL DEFAULT 'Sconosciuta',
908 `level` int(12) NOT NULL DEFAULT '1',
909 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
910 PRIMARY KEY (`id`)
911) ENGINE=InnoDB AUTO_INCREMENT=246 DEFAULT CHARSET=latin1;
912
913-- L’esportazione dei dati non era selezionata.
914-- Dump della struttura di tabella lsrp.weapon_illegal
915CREATE TABLE IF NOT EXISTS `weapon_illegal` (
916 `id` int(11) NOT NULL AUTO_INCREMENT,
917 `character_id` int(11) NOT NULL,
918 PRIMARY KEY (`id`)
919) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=latin1;
920
921-- L’esportazione dei dati non era selezionata.
922-- Dump della struttura di tabella lsrp.weapon_licenses
923CREATE TABLE IF NOT EXISTS `weapon_licenses` (
924 `id` int(11) NOT NULL AUTO_INCREMENT,
925 `receiver_id` int(11) NOT NULL,
926 `giver_id` int(11) NOT NULL,
927 `type` int(11) NOT NULL DEFAULT '0',
928 `weapons` varchar(28) NOT NULL DEFAULT '0|0|0|0|',
929 `expires` int(11) NOT NULL,
930 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
931 PRIMARY KEY (`id`)
932) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=latin1;
933
934-- L’esportazione dei dati non era selezionata.
935-- Dump della struttura di tabella lsrp.weapon_license_logs
936CREATE TABLE IF NOT EXISTS `weapon_license_logs` (
937 `id` int(11) NOT NULL AUTO_INCREMENT,
938 `officer_id` int(11) NOT NULL,
939 `subject_id` int(11) NOT NULL,
940 `action` int(11) NOT NULL,
941 `value` int(11) NOT NULL DEFAULT '0',
942 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
943 PRIMARY KEY (`id`)
944) ENGINE=InnoDB AUTO_INCREMENT=715 DEFAULT CHARSET=latin1;
945
946-- L’esportazione dei dati non era selezionata.
947/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
948/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
949/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;