-
Notifications
You must be signed in to change notification settings - Fork 6
/
fx-computer.sql
90 lines (81 loc) · 3.83 KB
/
fx-computer.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
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Versión del servidor: 10.4.20-MariaDB - mariadb.org binary distribution
-- SO del servidor: Win64
-- HeidiSQL Versión: 12.0.0.6468
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Volcando estructura para tabla qbcorevue.fx_assignment
CREATE TABLE IF NOT EXISTS `fx_assignment` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`caseid` varchar(20) NOT NULL,
`localization` varchar(20) NOT NULL,
`coordinates` text DEFAULT NULL,
`citizenid` varchar(50) NOT NULL,
`name` varchar(50) NOT NULL,
`callsign` varchar(50) NOT NULL,
PRIMARY KEY (`caseid`),
UNIQUE KEY `caseid` (`caseid`),
KEY `citizenid` (`citizenid`),
KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=143 DEFAULT CHARSET=utf8;
-- La exportación de datos fue deseleccionada.
-- Volcando estructura para tabla qbcorevue.fx_reports
CREATE TABLE `fx_reports` (
`algo` INT(11) NOT NULL AUTO_INCREMENT,
`id` VARCHAR(255) NOT NULL DEFAULT '' COLLATE 'utf8_general_ci',
`title` VARCHAR(20) NULL DEFAULT NULL COLLATE 'utf8_general_ci',
`name` VARCHAR(20) NULL DEFAULT NULL COLLATE 'utf8_general_ci',
`lastname` VARCHAR(20) NULL DEFAULT NULL COLLATE 'utf8_general_ci',
`citizenid` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8_general_ci',
`plate` VARCHAR(50) NULL DEFAULT '""' COLLATE 'utf8_general_ci',
`location` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8_general_ci',
`coords` TEXT NULL DEFAULT NULL COLLATE 'utf8_general_ci',
`observations` TEXT NULL DEFAULT '""' COLLATE 'utf8_general_ci',
`data` LONGTEXT NULL DEFAULT '{"polices":[],"fines":[],"evidences":[]}' COLLATE 'utf8mb4_bin',
`amount` SMALLINT(6) NOT NULL DEFAULT '0',
`type` VARCHAR(20) NOT NULL DEFAULT 'basic' COLLATE 'utf8_general_ci',
`taked` INT(1) NULL DEFAULT '0',
`callsign` VARCHAR(50) NULL DEFAULT '""' COLLATE 'utf8_general_ci',
`isvehicle` TINYINT(2) NULL DEFAULT '0',
`date` TIMESTAMP NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
PRIMARY KEY (`algo`) USING BTREE,
INDEX `id` (`id`) USING BTREE,
INDEX `citizenid` (`citizenid`) USING BTREE
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=230
;
ALTER TABLE `player_vehicles`
ADD COLUMN `bolo` TINYINT(2) NULL DEFAULT '0';
CREATE TABLE `fx_helprequest` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`uid` VARCHAR(10) NULL DEFAULT NULL COLLATE 'utf8_general_ci',
`code` VARCHAR(20) NULL DEFAULT NULL COLLATE 'utf8_general_ci',
`street` VARCHAR(50) NULL DEFAULT NULL COMMENT 'street string' COLLATE 'utf8_general_ci',
`coords` TEXT NULL DEFAULT NULL COMMENT 'Coordinates' COLLATE 'utf8_general_ci',
`text` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8_general_ci',
`taked` TINYINT(2) NULL DEFAULT '0' COMMENT '1 true 0 false',
`callsign` VARCHAR(10) NULL DEFAULT NULL COMMENT 'police who create the callsign' COLLATE 'utf8_general_ci',
`takedby` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8_general_ci',
UNIQUE INDEX `id` (`id`) USING BTREE
)
COMMENT='This will save all the requested helps'
COLLATE='utf8_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=37
;
-- La exportación de datos fue deseleccionada.
/*!40103 SET TIME_ZONE=IFNULL(@OLD_TIME_ZONE, 'system') */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40111 SET SQL_NOTES=IFNULL(@OLD_SQL_NOTES, 1) */;