From 3e7c980c59923682f7c86c553b143039459f0aa4 Mon Sep 17 00:00:00 2001 From: shortybsd Date: Sat, 16 May 2020 22:38:55 -0500 Subject: [PATCH] Update br_esx_vehicleshop.sql int & TINYINT - Integer display width is deprecated and will be removed in a future release. --- localization/br_esx_vehicleshop.sql | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/localization/br_esx_vehicleshop.sql b/localization/br_esx_vehicleshop.sql index a673d15b..b6b02ebe 100644 --- a/localization/br_esx_vehicleshop.sql +++ b/localization/br_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`) @@ -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`)