Installation · origen_parking
1. SQL
Run sql/install.sql in your database:
sql
CREATE TABLE IF NOT EXISTS `org_parking` (
`id` VARCHAR(12) NOT NULL,
`owner` VARCHAR(60) NOT NULL DEFAULT '',
`parkedBy` VARCHAR(60) NOT NULL DEFAULT '',
`plate` VARCHAR(12) NOT NULL DEFAULT '',
`model` VARCHAR(64) NOT NULL DEFAULT '',
`hash` BIGINT NOT NULL DEFAULT 0,
`coords` LONGTEXT NOT NULL,
`dimension` INT NOT NULL DEFAULT 0,
`type` VARCHAR(32) NOT NULL DEFAULT 'automobile',
`mods` LONGTEXT NOT NULL,
`lastUpdate` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
INDEX `idx_owner` (`owner`),
INDEX `idx_plate` (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;Migrating from an older version
If you are upgrading from orp_parking or origen_parking, run this once and then remove it:
sql
INSERT IGNORE INTO `org_parking`
SELECT `id`, `owner`, `parkedBy`, `plate`, `model`, `hash`,
`coords`, `dimension`, `type`, `mods`, `lastUpdate`
FROM `origen_parking`;2. server.cfg
text
ensure origen_parking3. Verify
Start your server and check the console. The resource will log the detected framework, key system and fuel system on boot.