Accueil › Documentation › Installation · origen_parking
Exécute sql/install.sql dans ta base de données :
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;Si tu mets à jour depuis orp_parking ou origen_parking, exécute ceci une seule fois, puis supprime-le :
INSERT IGNORE INTO `org_parking`
SELECT `id`, `owner`, `parkedBy`, `plate`, `model`, `hash`,
`coords`, `dimension`, `type`, `mods`, `lastUpdate`
FROM `origen_parking`;ensure origen_parkingDémarre ton serveur et consulte la console. La ressource affiche dans les logs le framework, le système de clés et le système de carburant détectés au démarrage.