SQL

SQL file for "Ownable Rent Creator" script

Copy the following code and run the query in your phpMyAdmin/HeidiSQL/...:

CREATE TABLE IF NOT EXISTS `uniq_rent_stations` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `owner` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb3_general_ci',
  `name` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb3_general_ci',
  `data` LONGTEXT NULL DEFAULT '{}' COLLATE 'utf8mb3_general_ci',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

QBCORE

ALTER TABLE `player_vehicles` 
ADD COLUMN `rentable` int(11) NOT NULL DEFAULT 0;

ESX

ALTER TABLE `owned_vehicles`
ADD COLUMN `rentable` int(11) NOT NULL DEFAULT 0;

Last updated