Common Issues

🌟 Our amazing Mechanic script!

Missing SQL

Just execute the following SQL code:

CREATE TABLE IF NOT EXISTS bs_mechanic (
    vehicle_plate VARCHAR(255) PRIMARY KEY,
    current_distance FLOAT NOT NULL DEFAULT 0,
    last_maintenance FLOAT NOT NULL DEFAULT 0,
    broken_part VARCHAR(255) DEFAULT NULL,
    needmaintenance BOOLEAN NOT NULL DEFAULT FALSE,
    parts_status JSON DEFAULT '{}'
);

Last updated