From 485897fb5c7a3b0f027964cc1cd2d0f8c3376a2e Mon Sep 17 00:00:00 2001 From: shortybsd Date: Sat, 16 May 2020 22:32:00 -0500 Subject: [PATCH 1/2] Update esx_vehicleshop.sql int & TINYINT - Integer display width is deprecated and will be removed in a future release. --- esx_vehicleshop.sql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/esx_vehicleshop.sql b/esx_vehicleshop.sql index 662528ca..5d23e69f 100644 --- a/esx_vehicleshop.sql +++ b/esx_vehicleshop.sql @@ -20,9 +20,9 @@ INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_ ; CREATE TABLE `cardealer_vehicles` ( - `id` int(11) NOT NULL AUTO_INCREMENT, + `id` int NOT NULL AUTO_INCREMENT, `vehicle` varchar(255) NOT NULL, - `price` int(11) NOT NULL, + `price` int NOT NULL, PRIMARY KEY (`id`) ); @@ -43,7 +43,7 @@ CREATE TABLE `owned_vehicles` ( `vehicle` longtext, `type` VARCHAR(20) NOT NULL DEFAULT 'car', `job` VARCHAR(20) NULL DEFAULT NULL, - `stored` TINYINT(1) NOT NULL DEFAULT '0', + `stored` TINYINT NOT NULL DEFAULT '0', PRIMARY KEY (`plate`) ); @@ -52,8 +52,8 @@ CREATE TABLE `rented_vehicles` ( `vehicle` varchar(60) NOT NULL, `plate` varchar(12) NOT NULL, `player_name` varchar(255) NOT NULL, - `base_price` int(11) NOT NULL, - `rent_price` int(11) NOT NULL, + `base_price` int NOT NULL, + `rent_price` int NOT NULL, `owner` varchar(22) NOT NULL, PRIMARY KEY (`plate`) From f70ac34a6a70ba4705f1635cdf5e11d15a16c0da Mon Sep 17 00:00:00 2001 From: shortybsd Date: Sat, 16 May 2020 22:36:31 -0500 Subject: [PATCH 2/2] Update esx_vehicleshop.sql int & TINYINT - Integer display width is deprecated and will be removed in a future release. --- esx_vehicleshop.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esx_vehicleshop.sql b/esx_vehicleshop.sql index 5d23e69f..56bce343 100644 --- a/esx_vehicleshop.sql +++ b/esx_vehicleshop.sql @@ -83,7 +83,7 @@ INSERT INTO `vehicle_categories` (name, label) VALUES CREATE TABLE `vehicles` ( `name` varchar(60) NOT NULL, `model` varchar(60) NOT NULL, - `price` int(11) NOT NULL, + `price` int NOT NULL, `category` varchar(60) DEFAULT NULL, PRIMARY KEY (`model`)