Wise Scripts Docs
ShopDiscord
  • 👋Welcome
  • 💻 Scripts
    • 🚙Wise Garage
      • Installation
      • Database
      • Events
      • Example Configs
        • Main
        • Garages
        • Impounds
    • 🖥️Wise Hud
      • Installation
      • Example Configs
        • Main
    • 🦌Wise Hunting
      • Installation
      • Example Configs
        • Main
        • Animals
        • Huntareas
        • Market
    • 🔫Wise Gungame
      • Installation
      • Setup for Ambulancejob
    • 👥Wise Faction
      • Installation
      • Exports
      • Events
      • Setup FFA & Gangwar
      • Example Configs
        • Main
        • FFA
        • Gangwar
        • Robbery
        • Shop
        • Missions
    • 🔔Wise Notify
      • Installation
      • Exports & Triggers
      • ESX Replacements
    • ⚠️Wise Report
      • Installation
    • 🎮Wise Lifeinvader
      • Installation
  • 🏡PROPS
    • 🪨Wise Ore Props Pack
    • ✨Wise Crystal Props Pack
  • 🧟‍♂️PEDS
    • 🎃HALLOWEEN Pumpkin Monster
    • 🎃HALLOWEEN MR Bright
Powered by GitBook
On this page
  1. 💻 Scripts
  2. Wise Garage

Database

ONLY USE THIS if it does not install it AUTOMATICALLY

If there are already tables existing, delete those with

DROP TABLE IF EXISTS `owned_vehicles`;
DROP TABLE IF EXISTS `player_vehicles`;
-- USE THIS FOR ESX
ALTER TABLE owned_vehicles ADD COLUMN (
    `favorite` TINYINT(1) DEFAULT 0,
    `nickname` VARCHAR(25) DEFAULT 'NONE',
    `job` VARCHAR(25) DEFAULT NULL,
    `garage` VARCHAR(25) DEFAULT NULL,
    `state` INT(10) DEFAULT 1
);

-- USE THIS FOR QB_CORE
ALTER TABLE player_vehicles ADD COLUMN (
    `favorite` TINYINT(1) DEFAULT '0',
    `nickname` VARCHAR(25) DEFAULT 'NONE',
    `job` VARCHAR(25) DEFAULT NULL
);
PreviousInstallationNextEvents

Last updated 11 months ago

🚙