This repository was archived by the owner on Jun 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathuser_mdt.sql
More file actions
57 lines (47 loc) · 1.37 KB
/
Copy pathuser_mdt.sql
File metadata and controls
57 lines (47 loc) · 1.37 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
USE `essentialmode`;
CREATE TABLE `user_mdt` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`char_id` int(11) DEFAULT NULL,
`notes` varchar(255) DEFAULT NULL,
`mugshot_url` varchar(255) DEFAULT NULL,
`bail` bit DEFAULT NULL,
PRIMARY KEY (`id`)
);
CREATE TABLE `vehicle_mdt` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`plate` varchar(255) DEFAULT NULL,
`stolen` bit DEFAULT 0,
`notes` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
);
CREATE TABLE `user_convictions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`char_id` int(11) DEFAULT NULL,
`offense` varchar(255) DEFAULT NULL,
`count` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
);
CREATE TABLE `mdt_reports` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`char_id` int(11) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`incident` longtext DEFAULT NULL,
`charges` longtext DEFAULT NULL,
`author` varchar(255) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`date` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
);
CREATE TABLE `mdt_warrants` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`char_id` int(11) DEFAULT NULL,
`report_id` int(11) DEFAULT NULL,
`report_title` varchar(255) DEFAULT NULL,
`charges` longtext DEFAULT NULL,
`date` varchar(255) DEFAULT NULL,
`expire` varchar(255) DEFAULT NULL,
`notes` varchar(255) DEFAULT NULL,
`author` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
);