New features comming soon

Added, clothing which will use FiveM-appearence to change the clothes of the character when created. Groups which will be introduced later, and last location which will be used to save the players location so they can spawn there.
This commit is contained in:
Andyyy7666 authored and GitHub committed 2022-08-04 23:57:58 +02:00
1 parent 05b7f8f7be
commit ba33930002
1 file changed
+15 -12
+15 -12
View File
@@ -1,14 +1,17 @@
CREATE TABLE `characters` (
`character_id` INT(10) NOT NULL AUTO_INCREMENT,
`license` VARCHAR(200) NOT NULL DEFAULT '0',
`first_name` VARCHAR(50) NULL DEFAULT NULL,
`last_name` VARCHAR(50) NULL DEFAULT NULL,
`dob` VARCHAR(50) NULL DEFAULT NULL,
`gender` VARCHAR(50) NULL DEFAULT NULL,
`twt` VARCHAR(50) NULL DEFAULT NULL,
`job` VARCHAR(50) NULL DEFAULT NULL,
`cash` INT(10) NULL DEFAULT '0',
`bank` INT(10) NULL DEFAULT '0',
`phone_number` VARCHAR(20) DEFAULT NULL,
PRIMARY KEY (`character_id`) USING BTREE
`character_id` INT(10) NOT NULL AUTO_INCREMENT,
`license` VARCHAR(200) NOT NULL DEFAULT '0',
`first_name` VARCHAR(50) NULL DEFAULT NULL,
`last_name` VARCHAR(50) NULL DEFAULT NULL,
`dob` VARCHAR(50) NULL DEFAULT NULL,
`gender` VARCHAR(50) NULL DEFAULT NULL,
`twt` VARCHAR(50) NULL DEFAULT NULL,
`job` VARCHAR(50) NULL DEFAULT NULL,
`cash` INT(10) NULL DEFAULT '0',
`bank` INT(10) NULL DEFAULT '0',
`phone_number` VARCHAR(20) NULL DEFAULT NULL,
`groups` LONGTEXT NULL DEFAULT '[]',
`last_location` LONGTEXT NULL DEFAULT '[]',
`clothing` LONGTEXT NULL DEFAULT '[]',
PRIMARY KEY (`character_id`) USING BTREE
);