Inicio › Documentación › Instalación · origen_parking
Ejecuta sql/install.sql en tu base de datos:
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 actualizas desde orp_parking u origen_parking, ejecuta esto una sola vez y después elimínalo:
INSERT IGNORE INTO `org_parking`
SELECT `id`, `owner`, `parkedBy`, `plate`, `model`, `hash`,
`coords`, `dimension`, `type`, `mods`, `lastUpdate`
FROM `origen_parking`;ensure origen_parkingArranca tu servidor y revisa la consola. El recurso mostrará en el log el framework, el sistema de llaves y el sistema de combustible que ha detectado al arrancar.