Installation

Downloading Necessary Resources

Dependencies are essential β€” they must be installed before you proceed with installing our script.

In this section, we need to add sql file to our database for the script to work properly

chevron-rightSQL FILEhashtag
CREATE TABLE `owned_vehicles` (
  `owner` varchar(49) DEFAULT NULL,
  `plate` varchar(12) NOT NULL,
  `vehicle` longtext DEFAULT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'car',
  `job` varchar(20) DEFAULT NULL,
  `stored` tinyint(4) NOT NULL DEFAULT 0,
  `parking` varchar(60) DEFAULT NULL,
  `pound` varchar(60) DEFAULT NULL,
  `mileage` float DEFAULT 0,
  `glovebox` longtext DEFAULT NULL,
  `trunk` longtext DEFAULT NULL,
  `state` int(11) DEFAULT 0,
  `owner_type` varchar(255) DEFAULT NULL,
  `co_owner` varchar(255) DEFAULT NULL,
  `vehicleid` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;


ALTER TABLE `owned_vehicles`
  ADD PRIMARY KEY (`plate`);
COMMIT;

Last updated