forked from renzuzu/renzu_garage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(all): Qbcore Support p1 progress
part 1 of esx and qbcore support framework folder added. still WIP do not use if you you wont keep updating later. Still need to test and checks: Table column integration checks. Key System ( havent tried im alone in local ) Impound system: if will use state 3 or impound column. consistentsy of parking system,realpark,parkmeter. garage keys.. and check and breaking changes from ESX version.
- Loading branch information
Showing
17 changed files
with
6,033 additions
and
276 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
ALTER TABLE player_vehicles | ||
ADD impound int(1) NOT NULL DEFAULT 0; | ||
|
||
ALTER TABLE player_vehicles | ||
ADD `type` varchar(32) NOT NULL DEFAULT 'car'; | ||
|
||
ALTER TABLE player_vehicles | ||
ADD `job` varchar(32) NOT NULL DEFAULT 'civ'; | ||
|
||
ALTER TABLE player_vehicles | ||
ADD park_coord LONGTEXT NULL; | ||
|
||
ALTER TABLE player_vehicles | ||
ADD isparked int(1) NULL DEFAULT 0; | ||
|
||
CREATE TABLE IF NOT EXISTS `impound_garage` ( | ||
`garage` VARCHAR(64) NOT NULL DEFAULT '' COLLATE 'utf8mb4_general_ci', | ||
`data` LONGTEXT NULL COLLATE 'utf8mb4_general_ci', | ||
PRIMARY KEY (`garage`) USING BTREE | ||
) | ||
COLLATE='utf8mb4_general_ci' | ||
ENGINE=InnoDB | ||
; | ||
|
||
CREATE TABLE IF NOT EXISTS `private_garage` ( | ||
`identifier` VARCHAR(64) NOT NULL DEFAULT '' COLLATE 'utf8mb4_general_ci', | ||
`vehicles` LONGTEXT NULL COLLATE 'utf8mb4_general_ci', | ||
`garage` VARCHAR(64) NULL COLLATE 'utf8mb4_general_ci', | ||
`inventory` LONGTEXT NULL COLLATE 'utf8mb4_general_ci' | ||
) | ||
COLLATE='utf8mb4_general_ci' | ||
ENGINE=InnoDB | ||
; | ||
|
||
CREATE TABLE IF NOT EXISTS `parking_meter` ( | ||
`identifier` VARCHAR(64) NOT NULL DEFAULT '' COLLATE 'utf8mb4_general_ci', | ||
`plate` VARCHAR(32) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci', | ||
`vehicle` LONGTEXT NULL COLLATE 'utf8mb4_general_ci', | ||
`coord` LONGTEXT NULL COLLATE 'utf8mb4_general_ci', | ||
`park_coord` LONGTEXT NULL COLLATE 'utf8mb4_general_ci' | ||
) | ||
COLLATE='utf8mb4_general_ci' | ||
ENGINE=InnoDB | ||
; | ||
|
||
CREATE TABLE IF NOT EXISTS `garagekeys` ( | ||
`identifier` VARCHAR(64) NOT NULL DEFAULT '' COLLATE 'utf8mb4_general_ci', | ||
`keys` LONGTEXT NULL COLLATE 'utf8mb4_general_ci', | ||
PRIMARY KEY (`identifier`) USING BTREE | ||
) | ||
COLLATE='utf8mb4_general_ci' | ||
ENGINE=InnoDB | ||
; | ||
|
||
CREATE TABLE IF NOT EXISTS `vehiclekeys` ( | ||
`plate` VARCHAR(64) NOT NULL DEFAULT '' COLLATE 'utf8mb4_general_ci', | ||
`keys` LONGTEXT NULL COLLATE 'utf8mb4_general_ci', | ||
PRIMARY KEY (`plate`) USING BTREE | ||
) | ||
COLLATE='utf8mb4_general_ci' | ||
ENGINE=InnoDB | ||
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.