CREATE TABLE "purchase_order_items" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "purchase_order_id" integer not null, "part_id" integer, "sku" varchar, "description" varchar, "quantity" numeric, "unit" varchar, "unit_cost" numeric, "total_cost" numeric, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("purchase_order_id") references "purchase_orders"("id") on delete cascade, foreign key("part_id") references "parts"("id") on delete set null);


-- Table: purchase_orders
CREATE TABLE "purchase_orders" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "purchase_request_id" integer, "vendor_id" integer, "po_number" varchar not null, "vendor_name" varchar, "status" varchar not null default 'draft', "terms" varchar, "delivery_location" varchar, "total_estimated_cost" numeric, "currency" varchar not null default 'USD', "created_by" integer, "sent_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_due_at" date, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("purchase_request_id") references "purchase_requests"("id") on delete set null, foreign key("vendor_id") references "vendors"("id") on delete set null, foreign key("created_by") references "users"("id") on delete set null);


-- Table: purchase_request_approvals
CREATE TABLE "purchase_request_approvals" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "purchase_request_id" integer not null, "step" integer not null, "approver_id" integer, "status" varchar not null default 'pending', "notes" text, "decided_at" datetime, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("purchase_request_id") references "purchase_requests"("id") on delete cascade, foreign key("approver_id") references "users"("id") on delete set null);

INSERT INTO "purchase_request_approvals" ("id", "tenant_id", "purchase_request_id", "step", "approver_id", "status", "notes", "decided_at", "created_at", "updated_at") VALUES ('1', '31', '4', '1', NULL, 'pending', NULL, NULL, '2026-01-22 13:25:28', '2026-01-22 13:25:28');
INSERT INTO "purchase_request_approvals" ("id", "tenant_id", "purchase_request_id", "step", "approver_id", "status", "notes", "decided_at", "created_at", "updated_at") VALUES ('2', '31', '4', '2', NULL, 'pending', NULL, NULL, '2026-01-22 13:25:28', '2026-01-22 13:25:28');
INSERT INTO "purchase_request_approvals" ("id", "tenant_id", "purchase_request_id", "step", "approver_id", "status", "notes", "decided_at", "created_at", "updated_at") VALUES ('3', '31', '5', '1', NULL, 'pending', NULL, NULL, '2026-01-22 22:45:35', '2026-01-22 22:45:35');
INSERT INTO "purchase_request_approvals" ("id", "tenant_id", "purchase_request_id", "step", "approver_id", "status", "notes", "decided_at", "created_at", "updated_at") VALUES ('4', '31', '5', '2', NULL, 'pending', NULL, NULL, '2026-01-22 22:45:35', '2026-01-22 22:45:35');
INSERT INTO "purchase_request_approvals" ("id", "tenant_id", "purchase_request_id", "step", "approver_id", "status", "notes", "decided_at", "created_at", "updated_at") VALUES ('5', '31', '6', '1', NULL, 'pending', NULL, NULL, '2026-01-23 17:25:36', '2026-01-23 17:25:36');
INSERT INTO "purchase_request_approvals" ("id", "tenant_id", "purchase_request_id", "step", "approver_id", "status", "notes", "decided_at", "created_at", "updated_at") VALUES ('6', '31', '6', '2', NULL, 'pending', NULL, NULL, '2026-01-23 17:25:36', '2026-01-23 17:25:36');

-- Table: purchase_request_item_documents
CREATE TABLE "purchase_request_item_documents" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "purchase_request_item_id" integer not null, "uploaded_by" integer, "original_name" varchar not null, "storage_path" varchar not null, "mime_type" varchar, "size_bytes" integer, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("purchase_request_item_id") references "purchase_request_items"("id") on delete cascade, foreign key("uploaded_by") references "users"("id") on delete set null);

INSERT INTO "purchase_request_item_documents" ("id", "tenant_id", "purchase_request_item_id", "uploaded_by", "original_name", "storage_path", "mime_type", "size_bytes", "created_at", "updated_at") VALUES ('1', '31', '1', NULL, 'README.md', 'purchase-request-items/1/1768748922_readme.md', 'application/octet-stream', '4529', '2026-01-18 15:08:42', '2026-01-18 15:08:42');
INSERT INTO "purchase_request_item_documents" ("id", "tenant_id", "purchase_request_item_id", "uploaded_by", "original_name", "storage_path", "mime_type", "size_bytes", "created_at", "updated_at") VALUES ('2', '31', '1', NULL, 'qa-upload.txt', 'purchase-request-items/1/1769354907_qa-upload.txt', 'text/plain', '16', '2026-01-25 15:28:29', '2026-01-25 15:28:29');

-- Table: purchase_request_items
CREATE TABLE "purchase_request_items" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "purchase_request_id" integer not null, "line_number" integer, "item_name" varchar, "quantity" numeric, "unit" varchar, "purpose_cost_center" varchar, "date_initiated" date, "supplier_name" varchar, "quote_number" varchar, "quote_amount_usd" numeric, "quote_amount_zwl" numeric, "selected_supplier" varchar, "comments" text, "created_at" datetime, "updated_at" datetime, "part_id" integer, "sku" varchar, "description" varchar, "est_unit_cost" numeric, "preferred_vendor" varchar, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("purchase_request_id") references "purchase_requests"("id") on delete cascade);

INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('1', '31', '1', '1', 'QA Update Item', '3', 'pcs', 'CONVEYOR BELTS', '2026-01-14 00:00:00', '1', NULL, '150', '2268000', '1', 'Test edit', '2026-01-14 18:00:28', '2026-01-18 15:08:12', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('2', '31', '1', '2', 'CONE OIL FILTERS', '2', NULL, 'CONE OIL TANK', '2025-12-10 00:00:00', '1', NULL, '240', '3628800', '1', 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('3', '31', '1', '3', 'ROLLER IDLERS (SMALL)', '1', NULL, 'CONVEYOR BELTS', '2026-01-14 00:00:00', '1', NULL, '150', '2268000', '1', 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('4', '31', '1', '4', 'FIRE EXTINGUISHER 9KG', '8', NULL, 'PLANT', '2026-01-14 00:00:00', '1', NULL, '496', '7499520', '1', 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('5', '31', '1', '5', '20MM STEEL PLATE', '1', NULL, 'PLANT', '2026-01-14 00:00:00', '1', NULL, '300', '4536000', '1', 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('6', '31', '1', '6', 'CONE PRESSURE GUAGE & REGULATOR', '1', NULL, 'CONE OIL TANK', '2025-12-10 00:00:00', '1', NULL, '150', '2268000', '1', 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('7', '31', '1', '7', 'CONVEYOR GEARBOX', '1', NULL, 'SCREEN 3', '2025-12-20 00:00:00', '1', NULL, '150', '2268000', '1', 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('8', '31', '1', '8', 'TYRE PRESSURE GUAGE & PIPE', '1', NULL, 'PLANT', '2025-02-01 00:00:00', '1', NULL, '800', '12096000', '1', 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('9', '31', '1', '9', 'BELT FASTENERS', '30', NULL, 'CONVEYOR BELTS', '2025-02-01 00:00:00', '1', NULL, '27000', '408240000', '1', 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('10', '31', '1', '10', 'Prepared By:', '1', NULL, 'Goromonzi Quarry Operations', '2026-01-14 00:00:00', NULL, NULL, '150', '2268000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('11', '31', '1', '11', NULL, '1', NULL, 'Goromonzi Quarry Operations', '2026-01-14 00:00:00', NULL, NULL, '0', '0', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('12', '31', '1', '12', 'Authorised By:', '1', NULL, 'Goromonzi Quarry Operations', '2026-01-14 00:00:00', NULL, NULL, '150', '2268000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('13', '31', '2', '1', 'ROLLER IDLERS (BIG)', '1', NULL, 'CONVEYOR BELTS', '2026-01-14 00:00:00', NULL, NULL, '150', '2268000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('14', '31', '2', '2', 'CONE OIL FILTERS', '2', NULL, 'CONE OIL TANK', '2025-12-10 00:00:00', NULL, NULL, '240', '3628800', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('15', '31', '2', '3', 'ROLLER IDLERS (SMALL)', '1', NULL, 'CONVEYOR BELTS', '2026-01-14 00:00:00', NULL, NULL, '150', '2268000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('16', '31', '2', '4', 'FIRE EXTINGUISHER 9KG', '8', NULL, 'PLANT', '2026-01-14 00:00:00', NULL, NULL, '496', '7499520', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('17', '31', '2', '5', '20MM STEEL PLATE', '1', NULL, 'PLANT', '2026-01-14 00:00:00', NULL, NULL, '300', '4536000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('18', '31', '2', '6', 'CONE PRESSURE GUAGE & REGULATOR', '1', NULL, 'CONE OIL TANK', '2025-12-10 00:00:00', NULL, NULL, '150', '2268000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('19', '31', '2', '7', 'CONVEYOR GEARBOX', '1', NULL, 'SCREEN 3', '2025-12-20 00:00:00', NULL, NULL, '150', '2268000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('20', '31', '2', '8', 'TYRE PRESSURE GUAGE & PIPE', '1', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '800', '12096000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('21', '31', '2', '9', 'BELT FASTENERS', '30', NULL, 'CONVEYOR BELTS', '2026-01-02 00:00:00', NULL, NULL, '27000', '408240000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('22', '31', '2', '10', 'SERVICE KIT', '1', NULL, 'EXCAVATOR', '2025-12-20 00:00:00', NULL, NULL, '150', '2268000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('23', '31', '2', '11', 'SERVICE KIT', '1', NULL, 'HILUX(AFX6240)', '2026-01-02 00:00:00', NULL, NULL, '150', '2268000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('24', '31', '2', '12', 'V-belts: 22x3820Lp-3762Li', '6', NULL, 'CONES', '2026-01-02 00:00:00', NULL, NULL, '5400', '81648000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('25', '31', '2', '13', 'V-belts: VB17x2890', '4', NULL, '1&3-CONVEYOR', '2026-01-02 00:00:00', NULL, NULL, '3600', '54432000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('26', '31', '2', '14', 'V-belts: VB13x2700', '2', NULL, '2-CONVEYOR', '2026-01-02 00:00:00', NULL, NULL, '1800', '27216000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('27', '31', '2', '15', 'V-belts: VB16Nx2650', '2', NULL, '4-CONVEYOR', '2026-01-02 00:00:00', NULL, NULL, '1800', '27216000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('28', '31', '2', '16', 'V-belts: B118 17x3000Li', '2', NULL, 'FEEDER', '2026-01-02 00:00:00', NULL, NULL, '1800', '27216000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('29', '31', '2', '17', 'V-belt: VB22Nx7100', '4', NULL, 'JAW', '2026-01-02 00:00:00', NULL, NULL, '3600', '54432000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('30', '31', '2', '18', 'V-belts: 22N SPC-2900', '3', NULL, 'SCREEN 1', '2026-01-02 00:00:00', NULL, NULL, '2700', '40824000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('31', '31', '2', '19', 'V-belts: 22N SPC-3000', '3', NULL, 'SCREEN 1', '2026-01-02 00:00:00', NULL, NULL, '2700', '40824000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('32', '31', '2', '20', 'Bearings: P215', '4', NULL, 'CONVEYOR BELTS', '2026-01-02 00:00:00', NULL, NULL, '720', '10886400', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('33', '31', '2', '21', 'Bearings:  P213', '2', NULL, 'CONVEYOR BELTS', '2026-01-02 00:00:00', NULL, NULL, '360', '5443200', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('34', '31', '2', '22', 'GOGGLES', '50', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '7500', '113400000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('35', '31', '2', '23', 'GLOVES', '50', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '7500', '113400000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('36', '31', '2', '24', 'EAR PLUGS-BOX', '1', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '150', '2268000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('37', '31', '2', '25', 'REFLECTIVE VESTS', '15', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '2250', '34020000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('38', '31', '2', '26', 'HELMETS', '20', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '3000', '45360000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('39', '31', '2', '27', 'HYDRAULIC OIL*drum', '1', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '80', '1209600', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('40', '31', '2', '28', 'ENGINE OIL*drum', '1', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '80', '1209600', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('41', '31', '2', '29', 'GEAR OIL*drum', '1', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '80', '1209600', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('42', '31', '2', '30', 'DEGREASER*20LTRS', '1', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '60', '907200', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('43', '31', '2', '31', 'GREASE*20KG', '5', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '300', '4536000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('44', '31', '2', '32', 'GASKET MARKER', '20', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '60', '907200', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('45', '31', '2', '33', 'LIFTING ROPE', '5', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '750', '11340000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('46', '31', '2', '34', 'FERRON WELDING RODS', '5', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '60', '907200', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('47', '31', '2', '35', 'WELDING RODS', '5', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '20', '302400', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('48', '31', '2', '36', 'CUTTING DISK', '15', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '25', '378000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('49', '31', '2', '37', 'JAW BOLTS', '4', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '247', '3734640', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('50', '31', '2', '38', 'HOOK BOLTS', '50', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '7500', '113400000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('51', '31', '2', '39', 'CUP BOLTS', '50', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '7500', '113400000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('52', '31', '2', '40', 'FEEDER GEARS', '2', NULL, 'PLANT', '2026-01-02 00:00:00', NULL, NULL, '300', '4536000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('53', '31', '2', '41', 'CONVEYOR BELT (1)25m x 980mm', '1', NULL, 'PLANT', '2026-01-14 00:00:00', NULL, NULL, '900', '13608000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('54', '31', '2', '42', 'Prepared By:', '1', NULL, 'Goromonzi Quarry Operations', '2026-01-14 00:00:00', NULL, NULL, '150', '2268000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('55', '31', '2', '43', NULL, '1', NULL, 'Goromonzi Quarry Operations', '2026-01-14 00:00:00', 'TOTAL REQUIRED', NULL, '0', '0', 'TOTAL REQUIRED', 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('56', '31', '2', '44', 'Authorised By:', '1', NULL, 'Goromonzi Quarry Operations', '2026-01-14 00:00:00', NULL, NULL, '150', '2268000', NULL, 'Estimated ZWL incl 12% contingency @ 13,500 ZWL/USD.', '2026-01-14 18:00:29', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('57', '31', '3', '1', 'ROLLER IDLERS (BIG)', NULL, NULL, 'CONVEYOR BELTS', NULL, '1', '', NULL, NULL, '', '', '2026-01-18 15:11:48', '2026-01-18 15:11:48', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('58', '31', '3', '4', 'CONE OIL FILTERS', '2', NULL, 'CONE OIL TANK', '2025-12-10 00:00:00', '1', '', NULL, NULL, '', '', '2026-01-18 15:11:48', '2026-01-18 15:11:48', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('59', '31', '3', '7', 'ROLLER IDLERS (SMALL)', NULL, NULL, 'CONVEYOR BELTS', NULL, '1', '', NULL, NULL, '', '', '2026-01-18 15:11:48', '2026-01-18 15:11:48', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('60', '31', '3', '10', 'FIRE EXTINGUISHER 9KG', '8', NULL, 'PLANT', NULL, '1', '', '496', NULL, '', '', '2026-01-18 15:11:48', '2026-01-18 15:11:48', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('61', '31', '3', '13', '20MM STEEL PLATE', '1', NULL, 'PLANT', NULL, '1', '', NULL, NULL, '', '', '2026-01-18 15:11:48', '2026-01-18 15:11:48', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('62', '31', '3', '16', 'CONE PRESSURE GUAGE & REGULATOR', '1', NULL, 'CONE OIL TANK', '2025-12-10 00:00:00', '1', '', NULL, NULL, '', '', '2026-01-18 15:11:48', '2026-01-18 15:11:48', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('63', '31', '3', '19', 'CONVEYOR GEARBOX', '1', NULL, 'SCREEN 3', '2025-12-20 00:00:00', '1', '', NULL, NULL, '', '', '2026-01-18 15:11:48', '2026-01-18 15:11:48', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('64', '31', '3', '22', 'TYRE PRESSURE GUAGE & PIPE', '1', NULL, 'PLANT', '2025-02-01 00:00:00', '1', '', NULL, NULL, '', '', '2026-01-18 15:11:48', '2026-01-18 15:11:48', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('65', '31', '3', '25', 'BELT FASTENERS', '30', NULL, 'CONVEYOR BELTS', '2025-02-01 00:00:00', '1', '', NULL, NULL, '', '', '2026-01-18 15:11:48', '2026-01-18 15:11:48', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('66', '31', '3', '43', 'Prepared By:', '0', NULL, '', NULL, '', NULL, NULL, NULL, NULL, NULL, '2026-01-18 15:11:48', '2026-01-18 15:11:48', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('67', '31', '3', '45', 'Authorised By:', '0', NULL, '', NULL, '', NULL, NULL, NULL, NULL, NULL, '2026-01-18 15:11:48', '2026-01-18 15:11:48', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('68', '31', '4', '1', 'idlers 650mm', '10', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:24:48', '2026-01-22 13:24:48', NULL, NULL, 'idlers 650mm', NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('69', '31', '4', '2', 'bearings 22220 needed by Friday', '2', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:24:49', '2026-01-22 13:24:49', NULL, NULL, 'bearings 22220 needed by Friday', NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('70', '31', '5', '1', 'paint tins', '2', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:43:32', '2026-01-22 22:43:32', NULL, NULL, 'paint tins', NULL, NULL);
INSERT INTO "purchase_request_items" ("id", "tenant_id", "purchase_request_id", "line_number", "item_name", "quantity", "unit", "purpose_cost_center", "date_initiated", "supplier_name", "quote_number", "quote_amount_usd", "quote_amount_zwl", "selected_supplier", "comments", "created_at", "updated_at", "part_id", "sku", "description", "est_unit_cost", "preferred_vendor") VALUES ('71', '31', '6', '1', 'priority', '30', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:25:36', '2026-01-23 17:25:36', NULL, NULL, 'priority', NULL, NULL);

-- Table: purchase_requests
CREATE TABLE "purchase_requests" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "site_id" integer, "request_code" varchar not null, "title" varchar, "status" varchar not null default 'pending', "priority" varchar not null default 'medium', "requested_by" integer, "needed_by" date, "total_estimated_cost" numeric, "currency" varchar not null default 'USD', "notes" text, "source_file" varchar, "created_at" datetime, "updated_at" datetime, "department" varchar, "cost_center" varchar, "submitted_at" datetime, "approved_at" datetime, "last_reminded_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("site_id") references "sites"("id") on delete set null, foreign key("requested_by") references "users"("id") on delete set null);

INSERT INTO "purchase_requests" ("id", "tenant_id", "site_id", "request_code", "title", "status", "priority", "requested_by", "needed_by", "total_estimated_cost", "currency", "notes", "source_file", "created_at", "updated_at", "department", "cost_center", "submitted_at", "approved_at", "last_reminded_at") VALUES ('1', '31', '40', 'PR-GOR-001', 'Goromonzi Quarry Procurement - Procurement 8-12-25', 'pending', 'medium', NULL, NULL, '29736', 'USD', 'Imported from Quarry Procurement.xlsx (Procurement 8-12-25)', 'Quarry Procurement.xlsx', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_requests" ("id", "tenant_id", "site_id", "request_code", "title", "status", "priority", "requested_by", "needed_by", "total_estimated_cost", "currency", "notes", "source_file", "created_at", "updated_at", "department", "cost_center", "submitted_at", "approved_at", "last_reminded_at") VALUES ('2', '31', '40', 'PR-GOR-002', 'Goromonzi Quarry Procurement - Procurement 8-12-25  (2)', 'pending', 'medium', NULL, NULL, '92878', 'USD', 'Imported from Quarry Procurement.xlsx (Procurement 8-12-25  (2))', 'Quarry Procurement.xlsx', '2026-01-14 18:00:28', '2026-01-14 21:34:41', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_requests" ("id", "tenant_id", "site_id", "request_code", "title", "status", "priority", "requested_by", "needed_by", "total_estimated_cost", "currency", "notes", "source_file", "created_at", "updated_at", "department", "cost_center", "submitted_at", "approved_at", "last_reminded_at") VALUES ('3', '31', NULL, 'PR-AI-3', 'Chatbot Intake', 'pending', 'medium', NULL, NULL, NULL, 'USD', 'AI intake from chat', '3', '2026-01-18 15:11:48', '2026-01-18 15:11:48', NULL, NULL, NULL, NULL, NULL);
INSERT INTO "purchase_requests" ("id", "tenant_id", "site_id", "request_code", "title", "status", "priority", "requested_by", "needed_by", "total_estimated_cost", "currency", "notes", "source_file", "created_at", "updated_at", "department", "cost_center", "submitted_at", "approved_at", "last_reminded_at") VALUES ('4', '31', NULL, 'PR-00001', 'Telegram PR', 'submitted', 'medium', '1', '2026-01-23 00:00:00', '0', 'USD', NULL, NULL, '2026-01-22 13:24:48', '2026-01-22 13:25:27', NULL, NULL, '2026-01-22 13:25:27', NULL, NULL);
INSERT INTO "purchase_requests" ("id", "tenant_id", "site_id", "request_code", "title", "status", "priority", "requested_by", "needed_by", "total_estimated_cost", "currency", "notes", "source_file", "created_at", "updated_at", "department", "cost_center", "submitted_at", "approved_at", "last_reminded_at") VALUES ('5', '31', NULL, 'PR-00002', '2 paint tins', 'submitted', 'medium', '1', NULL, '0', 'USD', '2 paint tins', NULL, '2026-01-22 22:43:32', '2026-01-22 22:45:35', NULL, NULL, '2026-01-22 22:45:35', NULL, NULL);
INSERT INTO "purchase_requests" ("id", "tenant_id", "site_id", "request_code", "title", "status", "priority", "requested_by", "needed_by", "total_estimated_cost", "currency", "notes", "source_file", "created_at", "updated_at", "department", "cost_center", "submitted_at", "approved_at", "last_reminded_at") VALUES ('6', '31', NULL, 'PR-00003', 'Conveyor\', 'submitted', 'high', '1', NULL, '0', 'USD', 'Conveyor\', NULL, '2026-01-23 17:25:31', '2026-01-23 17:26:23', 'Crushing needed', NULL, '2026-01-23 17:26:23', NULL, '2026-01-23 17:26:23');

-- Table: reconciliation_links
CREATE TABLE "reconciliation_links" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "source_type" varchar not null, "source_id" integer not null, "target_type" varchar, "target_id" integer, "confidence" numeric not null default '0', "status" varchar not null default 'suggested', "reason" varchar, "meta_json" text, "applied_by" integer, "applied_at" datetime, "notified_at" datetime, "notified_channel" varchar, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade);


-- Table: role_user
CREATE TABLE "role_user" ("id" integer not null primary key autoincrement, "role_id" integer not null, "user_id" integer not null, foreign key("role_id") references "roles"("id") on delete cascade, foreign key("user_id") references "users"("id") on delete cascade);

INSERT INTO "role_user" ("id", "role_id", "user_id") VALUES ('1', '78', '1');
INSERT INTO "role_user" ("id", "role_id", "user_id") VALUES ('2', '85', '2');
INSERT INTO "role_user" ("id", "role_id", "user_id") VALUES ('3', '86', '3');
INSERT INTO "role_user" ("id", "role_id", "user_id") VALUES ('4', '87', '4');
INSERT INTO "role_user" ("id", "role_id", "user_id") VALUES ('5', '88', '5');
INSERT INTO "role_user" ("id", "role_id", "user_id") VALUES ('6', '89', '6');
INSERT INTO "role_user" ("id", "role_id", "user_id") VALUES ('7', '90', '7');
INSERT INTO "role_user" ("id", "role_id", "user_id") VALUES ('8', '91', '8');
INSERT INTO "role_user" ("id", "role_id", "user_id") VALUES ('9', '80', '9');
INSERT INTO "role_user" ("id", "role_id", "user_id") VALUES ('10', '92', '10');

-- Table: roles
CREATE TABLE "roles" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "name" varchar not null, "description" varchar, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade);

INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('1', '11', 'Admin', NULL, '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('2', '11', 'Maintenance', NULL, '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('3', '11', 'Operator', NULL, '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('4', '11', 'Stores', NULL, '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('5', '11', 'Safety', NULL, '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('6', '11', 'Finance', NULL, '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('7', '11', 'Viewer', NULL, '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('8', '21', 'Admin', NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('9', '21', 'Maintenance', NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('10', '21', 'Operator', NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('11', '21', 'Stores', NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('12', '21', 'Safety', NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('13', '21', 'Finance', NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('14', '21', 'Viewer', NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('15', '22', 'Admin', NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('16', '22', 'Maintenance', NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('17', '22', 'Operator', NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('18', '22', 'Stores', NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('19', '22', 'Safety', NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('20', '22', 'Finance', NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('21', '22', 'Viewer', NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('22', '23', 'Admin', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('23', '23', 'Maintenance', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('24', '23', 'Operator', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('25', '23', 'Stores', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('26', '23', 'Safety', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('27', '23', 'Finance', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('28', '23', 'Viewer', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('29', '24', 'Admin', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('30', '24', 'Maintenance', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('31', '24', 'Operator', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('32', '24', 'Stores', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('33', '24', 'Safety', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('34', '24', 'Finance', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('35', '24', 'Viewer', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('36', '25', 'Admin', NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('37', '25', 'Maintenance', NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('38', '25', 'Operator', NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('39', '25', 'Stores', NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('40', '25', 'Safety', NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('41', '25', 'Finance', NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('42', '25', 'Viewer', NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('43', '26', 'Admin', NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('44', '26', 'Maintenance', NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('45', '26', 'Operator', NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('46', '26', 'Stores', NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('47', '26', 'Safety', NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('48', '26', 'Finance', NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('49', '26', 'Viewer', NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('50', '27', 'Admin', NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('51', '27', 'Maintenance', NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('52', '27', 'Operator', NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('53', '27', 'Stores', NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('54', '27', 'Safety', NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('55', '27', 'Finance', NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('56', '27', 'Viewer', NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('57', '28', 'Admin', NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('58', '28', 'Maintenance', NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('59', '28', 'Operator', NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('60', '28', 'Stores', NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('61', '28', 'Safety', NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('62', '28', 'Finance', NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('63', '28', 'Viewer', NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('64', '29', 'Admin', NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('65', '29', 'Maintenance', NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('66', '29', 'Operator', NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('67', '29', 'Stores', NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('68', '29', 'Safety', NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('69', '29', 'Finance', NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('70', '29', 'Viewer', NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('71', '30', 'Admin', NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('72', '30', 'Maintenance', NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('73', '30', 'Operator', NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('74', '30', 'Stores', NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('75', '30', 'Safety', NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('76', '30', 'Finance', NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('77', '30', 'Viewer', NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('78', '31', 'Admin', NULL, '2026-01-13 20:11:11', '2026-01-13 20:11:11');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('79', '31', 'Maintenance', NULL, '2026-01-13 20:11:11', '2026-01-13 20:11:11');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('80', '31', 'Operator', NULL, '2026-01-13 20:11:11', '2026-01-13 20:11:11');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('81', '31', 'Stores', NULL, '2026-01-13 20:11:11', '2026-01-13 20:11:11');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('82', '31', 'Safety', NULL, '2026-01-13 20:11:11', '2026-01-13 20:11:11');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('83', '31', 'Finance', NULL, '2026-01-13 20:11:11', '2026-01-13 20:11:11');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('84', '31', 'Viewer', NULL, '2026-01-13 20:11:11', '2026-01-13 20:11:11');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('85', '31', 'Managing Director', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('86', '31', 'Engineering Manager', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('87', '31', 'Engineer', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('88', '31', 'Foreman', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('89', '31', 'Artisan', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('90', '31', 'Planner', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('91', '31', 'Accountant', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20');
INSERT INTO "roles" ("id", "tenant_id", "name", "description", "created_at", "updated_at") VALUES ('92', '31', 'Finance Manager', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20');

-- Table: sensor_events_raw
CREATE TABLE "sensor_events_raw" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "device_id" integer not null, "payload" text not null, "occurred_at" datetime not null, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("device_id") references "devices"("id") on delete cascade);


-- Table: sensor_metrics
CREATE TABLE "sensor_metrics" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "asset_id" integer not null, "metric" varchar not null, "value" numeric, "unit" varchar, "source" varchar, "occurred_at" datetime, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("asset_id") references "assets"("id") on delete cascade);


-- Table: sites
CREATE TABLE "sites" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "name" varchar not null, "code" varchar, "type" varchar, "address" varchar, "latitude" numeric, "longitude" numeric, "active" tinyint(1) not null default '1', "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade);

INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('1', '11', 'Quarry', NULL, 'quarry', NULL, NULL, NULL, '1', '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('2', '11', 'Plant A', NULL, 'plant', NULL, NULL, NULL, '1', '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('3', '11', 'Workshop', NULL, 'workshop', NULL, NULL, NULL, '1', '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('4', '21', 'Quarry', NULL, 'quarry', NULL, NULL, NULL, '1', '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('5', '21', 'Plant A', NULL, 'plant', NULL, NULL, NULL, '1', '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('6', '21', 'Workshop', NULL, 'workshop', NULL, NULL, NULL, '1', '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('7', '22', 'Quarry', NULL, 'quarry', NULL, NULL, NULL, '1', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('8', '22', 'Plant A', NULL, 'plant', NULL, NULL, NULL, '1', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('9', '22', 'Workshop', NULL, 'workshop', NULL, NULL, NULL, '1', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('10', '23', 'Quarry', NULL, 'quarry', NULL, NULL, NULL, '1', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('11', '23', 'Plant A', NULL, 'plant', NULL, NULL, NULL, '1', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('12', '23', 'Workshop', NULL, 'workshop', NULL, NULL, NULL, '1', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('13', '24', 'Quarry', NULL, 'quarry', NULL, NULL, NULL, '1', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('14', '24', 'Plant A', NULL, 'plant', NULL, NULL, NULL, '1', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('15', '24', 'Workshop', NULL, 'workshop', NULL, NULL, NULL, '1', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('16', '25', 'Quarry', NULL, 'quarry', NULL, NULL, NULL, '1', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('17', '25', 'Plant A', NULL, 'plant', NULL, NULL, NULL, '1', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('18', '25', 'Workshop', NULL, 'workshop', NULL, NULL, NULL, '1', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('19', '26', 'Quarry', NULL, 'quarry', NULL, NULL, NULL, '1', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('20', '26', 'Plant A', NULL, 'plant', NULL, NULL, NULL, '1', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('21', '26', 'Workshop', NULL, 'workshop', NULL, NULL, NULL, '1', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('22', '27', 'Quarry', NULL, 'quarry', NULL, NULL, NULL, '1', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('23', '27', 'Plant A', NULL, 'plant', NULL, NULL, NULL, '1', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('24', '27', 'Workshop', NULL, 'workshop', NULL, NULL, NULL, '1', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('25', '28', 'Quarry', NULL, 'quarry', NULL, NULL, NULL, '1', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('26', '28', 'Plant A', NULL, 'plant', NULL, NULL, NULL, '1', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('27', '28', 'Workshop', NULL, 'workshop', NULL, NULL, NULL, '1', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('28', '29', 'Quarry', NULL, 'quarry', NULL, NULL, NULL, '1', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('29', '29', 'Plant A', NULL, 'plant', NULL, NULL, NULL, '1', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('30', '29', 'Workshop', NULL, 'workshop', NULL, NULL, NULL, '1', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('31', '30', 'Quarry', NULL, 'quarry', NULL, NULL, NULL, '1', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('32', '30', 'Plant A', NULL, 'plant', NULL, NULL, NULL, '1', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('33', '30', 'Workshop', NULL, 'workshop', NULL, NULL, NULL, '1', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('34', '31', 'Fourways Quarry', 'QRY', 'quarry', 'Fourways Industrial Estate', '-26.016', '28.013', '1', '2026-01-13 20:11:11', '2026-01-13 20:11:11');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('35', '31', 'Crushing Plant', 'CRS', 'plant', 'Fourways Industrial Estate', '-26.016', '28.013', '1', '2026-01-13 20:11:11', '2026-01-13 20:11:11');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('36', '31', 'Concrete Plant', 'CON', 'plant', 'Fourways Industrial Estate', '-26.016', '28.013', '1', '2026-01-13 20:11:11', '2026-01-13 20:11:11');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('37', '31', 'Central Workshop', 'WSH', 'workshop', 'Fourways Industrial Estate', '-26.016', '28.013', '1', '2026-01-13 20:11:11', '2026-01-13 20:11:11');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('38', '31', 'Service Yard', 'YRD', 'yard', 'Fourways Industrial Estate', '-26.016', '28.013', '1', '2026-01-13 20:11:11', '2026-01-13 20:11:11');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('39', '31', 'Fourways Concrete', 'FOURWA', 'site', NULL, NULL, NULL, '1', '2026-01-14 11:53:26', '2026-01-14 11:53:26');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('40', '31', 'Goromonzi Quarry', 'GOROMO', 'site', NULL, NULL, NULL, '1', '2026-01-14 18:00:28', '2026-01-14 18:00:28');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('41', '31', 'Mobile Plant', 'MOBILE', 'site', NULL, NULL, NULL, '1', '2026-01-25 13:50:15', '2026-01-25 13:50:15');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('42', '31', 'Stationary Plant', 'STATIO', 'site', NULL, NULL, NULL, '1', '2026-01-25 13:50:15', '2026-01-25 13:50:15');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('43', '31', '4083/SUNW/SLDT', '4083SU', 'site', NULL, NULL, NULL, '1', '2026-01-25 13:50:16', '2026-01-25 13:50:16');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('44', '31', '5400', '5400', 'site', NULL, NULL, NULL, '1', '2026-01-25 13:50:16', '2026-01-25 13:50:16');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('45', '31', '4083/SUNW/CONV', '4083SU', 'site', NULL, NULL, NULL, '1', '2026-01-25 13:50:16', '2026-01-25 13:50:16');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('46', '31', '8010', '8010', 'site', NULL, NULL, NULL, '1', '2026-01-25 13:50:16', '2026-01-25 13:50:16');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('47', '31', '4083/HDOF/FINA', '4083HD', 'site', NULL, NULL, NULL, '1', '2026-01-25 13:50:16', '2026-01-25 13:50:16');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('48', '31', '4083/HDOF/HQOF', '4083HD', 'site', NULL, NULL, NULL, '1', '2026-01-25 13:50:16', '2026-01-25 13:50:16');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('49', '31', '4083/HDOF/CONV', '4083HD', 'site', NULL, NULL, NULL, '1', '2026-01-25 13:50:16', '2026-01-25 13:50:16');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('50', '31', '4086/SUNW/HQOF', '4086SU', 'site', NULL, NULL, NULL, '1', '2026-01-25 13:50:16', '2026-01-25 13:50:16');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('51', '31', '4085/SUNW/CONV', '4085SU', 'site', NULL, NULL, NULL, '1', '2026-01-25 13:50:16', '2026-01-25 13:50:16');
INSERT INTO "sites" ("id", "tenant_id", "name", "code", "type", "address", "latitude", "longitude", "active", "created_at", "updated_at") VALUES ('52', '31', '4085/HDOF/CONV', '4085HD', 'site', NULL, NULL, NULL, '1', '2026-01-25 13:50:17', '2026-01-25 13:50:17');

-- Table: telegram_event_messages
CREATE TABLE "telegram_event_messages" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "telegram_event_id" integer not null, "chat_id" varchar not null, "message_id" varchar, "status" varchar not null default 'sent', "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("telegram_event_id") references "telegram_events"("id") on delete cascade);


-- Table: telegram_events
CREATE TABLE "telegram_events" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "site_id" integer, "asset_id" integer, "work_order_id" integer, "event_code" varchar not null, "event_type" varchar not null, "severity" varchar not null default 'info', "title" varchar, "message" text, "payload" text, "status" varchar not null default 'open', "acked_by" integer, "acked_at" datetime, "snoozed_until" datetime, "escalation_level" integer not null default '0', "last_escalated_at" datetime, "dedupe_key" varchar, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("site_id") references "sites"("id") on delete set null, foreign key("asset_id") references "assets"("id") on delete set null, foreign key("work_order_id") references "work_orders"("id") on delete set null, foreign key("acked_by") references "users"("id") on delete set null);


-- Table: telegram_groups
CREATE TABLE "telegram_groups" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "site_id" integer, "name" varchar not null, "type" varchar, "chat_id" varchar not null, "enabled" tinyint(1) not null default '1', "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("site_id") references "sites"("id") on delete set null);

INSERT INTO "telegram_groups" ("id", "tenant_id", "site_id", "name", "type", "chat_id", "enabled", "created_at", "updated_at") VALUES ('1', '31', NULL, 'management', 'group', '6161130318', '1', '2026-01-25 15:58:30', '2026-01-25 15:58:30');

-- Table: telegram_link_codes
CREATE TABLE "telegram_link_codes" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "user_id" integer not null, "code" varchar not null, "expires_at" datetime, "used_at" datetime, "created_at" datetime default CURRENT_TIMESTAMP not null, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("user_id") references "users"("id") on delete cascade);

INSERT INTO "telegram_link_codes" ("id", "tenant_id", "user_id", "code", "expires_at", "used_at", "created_at") VALUES ('1', '31', '1', '351A2E98', '2026-01-19 20:50:21', '2026-01-19 20:31:18', '2026-01-19 20:30:21');

-- Table: telegram_links
CREATE TABLE "telegram_links" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "user_id" integer not null, "telegram_user_id" varchar not null, "telegram_chat_id" varchar, "linked_at" datetime, "created_at" datetime default CURRENT_TIMESTAMP not null, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("user_id") references "users"("id") on delete cascade);

INSERT INTO "telegram_links" ("id", "tenant_id", "user_id", "telegram_user_id", "telegram_chat_id", "linked_at", "created_at") VALUES ('1', '31', '1', '6161130318', '6161130318', '2026-01-19 20:31:18', '2026-01-19 20:31:18');

-- Table: telemetries
CREATE TABLE "telemetries" ("id" integer not null primary key autoincrement, "tenant_id" integer, "vehicle_id" integer not null, "asset_id" integer, "timestamp" datetime not null, "usage_hours" numeric, "data" text not null, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete set null, foreign key("vehicle_id") references "vehicles"("id") on delete cascade, foreign key("asset_id") references "assets"("id") on delete set null);

INSERT INTO "telemetries" ("id", "tenant_id", "vehicle_id", "asset_id", "timestamp", "usage_hours", "data", "created_at", "updated_at") VALUES ('1', '31', '75', '146', '2026-01-13 20:00:03', '5', '{"speed":34,"fuel_rate":34,"engine_temp":89}', '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "telemetries" ("id", "tenant_id", "vehicle_id", "asset_id", "timestamp", "usage_hours", "data", "created_at", "updated_at") VALUES ('2', '31', '76', '145', '2026-01-13 19:40:03', '3', '{"speed":31,"fuel_rate":39,"engine_temp":81}', '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "telemetries" ("id", "tenant_id", "vehicle_id", "asset_id", "timestamp", "usage_hours", "data", "created_at", "updated_at") VALUES ('3', '31', '77', '158', '2026-01-13 19:50:03', '3', '{"speed":29,"fuel_rate":37,"engine_temp":83}', '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "telemetries" ("id", "tenant_id", "vehicle_id", "asset_id", "timestamp", "usage_hours", "data", "created_at", "updated_at") VALUES ('4', '31', '78', '159', '2026-01-13 19:30:03', '2', '{"speed":30,"fuel_rate":34,"engine_temp":80}', '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "telemetries" ("id", "tenant_id", "vehicle_id", "asset_id", "timestamp", "usage_hours", "data", "created_at", "updated_at") VALUES ('5', '31', '79', '164', '2026-01-13 19:57:03', '5', '{"speed":34,"fuel_rate":42,"engine_temp":86}', '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "telemetries" ("id", "tenant_id", "vehicle_id", "asset_id", "timestamp", "usage_hours", "data", "created_at", "updated_at") VALUES ('6', '31', '80', '160', '2026-01-13 19:44:03', '3', '{"speed":41,"fuel_rate":43,"engine_temp":80}', '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "telemetries" ("id", "tenant_id", "vehicle_id", "asset_id", "timestamp", "usage_hours", "data", "created_at", "updated_at") VALUES ('7', '31', '81', '161', '2026-01-13 19:53:03', '2', '{"speed":40,"fuel_rate":42,"engine_temp":80}', '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "telemetries" ("id", "tenant_id", "vehicle_id", "asset_id", "timestamp", "usage_hours", "data", "created_at", "updated_at") VALUES ('8', '31', '82', '147', '2026-01-13 19:48:03', '5', '{"speed":33,"fuel_rate":43,"engine_temp":90}', '2026-01-13 20:15:03', '2026-01-13 20:15:03');

-- Table: tenants
CREATE TABLE "tenants" ("id" integer not null primary key autoincrement, "name" varchar not null, "email" varchar not null, "password" varchar, "subdomain" varchar not null, "database_name" varchar, "subscription_plan" varchar, "status" varchar not null default 'active', "created_at" datetime, "updated_at" datetime);

INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('1', 'Dicki, Fritsch and Littel', 'alec37@example.net', '$2y$10$pWqGvbmsxpqhdtBJXUCkXufDNqkz1ypg.lMEliIlTOlkdsEPQHb6e', 'dicki-fritsch-and-littel-483', NULL, 'pro', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('2', 'Volkman-Reinger', 'abigale.volkman@example.net', '$2y$10$Ou9E3dnRmeN6F7Y0eXx7fulaMqRb14eY4llR2/DZtfp/JtWctJ3O6', 'volkman-reinger-784', NULL, 'basic', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('3', 'Wuckert Inc', 'tony.nicolas@example.net', '$2y$10$4/AQC3zhv.NcGTMRYeKg2u3Gufsr1hvr1mLfspqZaCqLxXsXClfd.', 'wuckert-inc-629', NULL, 'pro', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('4', 'Marks-Smith', 'paul86@example.org', '$2y$10$eoJ4wMy01WgAdCMdqcyeF.6Y8DNmcrOVyMdgsss3gvNbIbmSOXksi', 'marks-smith-569', NULL, 'pro', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('5', 'Bashirian-Goyette', 'everette.doyle@example.net', '$2y$10$6KVEMdbrgTEc8tUDmj7VBOkASXBWZc9AenLEffE9wNMilBgLhhYQK', 'bashirian-goyette-149', NULL, 'basic', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('6', 'Bogan, Mann and Doyle', 'dillon53@example.com', '$2y$10$FEQl//6NoDfSL0zq9UwZ7e/E33/V3vsepIu0b9Jn2PKAVpjsM3mvq', 'bogan-mann-and-doyle-530', NULL, 'enterprise', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('7', 'Hermiston-Bednar', 'gbeahan@example.com', '$2y$10$Kw.QxydByUS15BOvIPK9puCb/jOjSg17EirTkxnGW4EDJKx7H0D86', 'hermiston-bednar-653', NULL, 'basic', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('8', 'Herzog Group', 'mariano37@example.org', '$2y$10$ojBh/QV5Rz1ZrsjIVh..AugpZOQhudL9gX53Fw.IbxWRMXYQxGuwi', 'herzog-group-207', NULL, 'basic', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('9', 'Bahringer-Emard', 'heller.raquel@example.org', '$2y$10$0V533x0e27NGsaJmR4MG1.GeIwhdYvfB5vKvnu0gTQN6u29EABYnO', 'bahringer-emard-420', NULL, 'basic', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('10', 'Gorczany, Casper and Moore', 'bkuhn@example.com', '$2y$10$QcA4dYD8Pl5pxLko9m5Zv.UQHg3UVeshe96efBG1wMacFPYk.OO7K', 'gorczany-casper-and-moore-594', NULL, 'enterprise', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('11', 'Jakubowski, Wunsch and Kris', 'xhomenick@example.org', '$2y$10$wU0sT5c0Etog6riZbuqDpuXZdW45N4ic3FzMVyhJ/um6XB6xat4V2', 'jakubowski-wunsch-and-kris-391', NULL, 'basic', 'active', '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('12', 'Krajcik PLC', 'vvon@example.net', '$2y$10$nw05mNAkncDyWNmBxxqWguZiDvEZuoqDENvLu84gNbalECnA0bVT2', 'krajcik-plc-729', NULL, 'basic', 'active', '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('13', 'Reilly, Rogahn and Heathcote', 'schiller.lura@example.com', '$2y$10$aynqHz8q1KzD4Y4U80r5guee9nsq9iW5/eaMnAqZTabbfhHi8uQ6S', 'reilly-rogahn-and-heathcote-615', NULL, 'pro', 'active', '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('14', 'Price LLC', 'pagac.selmer@example.org', '$2y$10$JMWDUeoBwEdsWgHaB89iPO.cE2/Mifn2DOUyVMhVuRwjkxXiD1DJy', 'price-llc-250', NULL, 'basic', 'active', '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('15', 'Mante LLC', 'breana79@example.org', '$2y$10$E5MHPw4FBmMfbW4zk5AutOHcK02Be7l88py7ZyIe6M5H8CmxCJU5q', 'mante-llc-387', NULL, 'pro', 'active', '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('16', 'Terry, Beier and Dare', 'gutmann.devon@example.net', '$2y$10$.UkknMo0p7Y3WIHGeG97L.p9xBTTTt9IdAYBnQTAHJu1syHKPYa0q', 'terry-beier-and-dare-478', NULL, 'pro', 'active', '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('17', 'Oberbrunner and Sons', 'jlubowitz@example.net', '$2y$10$SbJrwE0rtU.Z6DBOe87HTuW69gRYhXM9XIos6gxFy8u9wHHKgyt5q', 'oberbrunner-and-sons-483', NULL, 'pro', 'active', '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('18', 'Wiza Ltd', 'marcia76@example.net', '$2y$10$Ve4iRwYZE1dQ0p9JRd8TJuSBChpXMDJkiIuGPGZr1yvKP.qdOt0/S', 'wiza-ltd-216', NULL, 'pro', 'active', '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('19', 'Fay and Sons', 'bo40@example.org', '$2y$10$.wAX3BkiNEfShjslZSLF4Olkqu6./d4j25V99nSrn5wIzDsJA6IUm', 'fay-and-sons-273', NULL, 'pro', 'active', '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('20', 'Marvin-Medhurst', 'cgoyette@example.net', '$2y$10$mcBaj.iu5BWiu2Paeo/q1e63WeZeCFzE7zeHaxPlSa83Hbg5K/J86', 'marvin-medhurst-411', NULL, 'pro', 'active', '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('21', 'Moore-Steuber', 'harber.cleo@example.net', '$2y$10$Cn1NjqDCXr1DVTtH2UZpDOfldAbodHve7P4.x8Na0duEKvk2suH9K', 'moore-steuber-499', NULL, 'basic', 'active', '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('22', 'Rosenbaum, Prohaska and Prosacco', 'rebekah.larson@example.net', '$2y$10$jPl2LqKybXU9j7mPJbN36ucPmCdIsZUcy/WlCtM7njiDqgNuTnxJe', 'rosenbaum-prohaska-and-prosacco-839', NULL, 'basic', 'active', '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('23', 'Kub-Mann', 'britchie@example.org', '$2y$10$OGyHJckjdIxj5RjQYJNZteOHKWLCltdJ1aMxz9booYB5hxpVx8sx.', 'kub-mann-386', NULL, 'pro', 'active', '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('24', 'Bailey, Murphy and Cummings', 'tillman85@example.com', '$2y$10$i91OCSRp98L.uDhxiPvGtOza39M75jxrdH1BmU7fVt/UvZ1q/EERG', 'bailey-murphy-and-cummings-281', NULL, 'basic', 'active', '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('25', 'Russel-Strosin', 'danielle.hilpert@example.com', '$2y$10$fVcV7BUiTIH76QFAr19i/OPYxQWkilPKcDsZwcdYoB.TJNF0Dy0a.', 'russel-strosin-704', NULL, 'enterprise', 'active', '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('26', 'DuBuque, Hagenes and Ledner', 'palma79@example.net', '$2y$10$oiTFx2lQGRul5zyqouNLluqN1FiMmqaCiZu2Rmw36YK5ctNw95MM2', 'dubuque-hagenes-and-ledner-721', NULL, 'pro', 'active', '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('27', 'Hill Inc', 'walsh.ed@example.com', '$2y$10$0i2HfDUR1Bky3YwK/xYN9OUb/ZR6JdiZ4AmXlHGqK5HtSwXQH3ZBS', 'hill-inc-440', NULL, 'enterprise', 'active', '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('28', 'Zieme, Rowe and Wehner', 'gromaguera@example.com', '$2y$10$MnO5w9GtqOPS/k4fr8F.COXewR75F1qbmGu2ygNwJlh4axYLC3n72', 'zieme-rowe-and-wehner-712', NULL, 'basic', 'active', '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('29', 'Robel, Conroy and Hill', 'btorp@example.org', '$2y$10$hrrehIh4nrUjo7oOqfZrUOUrbvWpZIYB.9n8j3amTWs3z1aREBG92', 'robel-conroy-and-hill-451', NULL, 'pro', 'active', '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('30', 'Cummerata PLC', 'faye25@example.net', '$2y$10$CY3wRBYSw5ySb1eTTmwS5uLiyuXpE.MVBvd.IfuZmF9MA/1cDGNU2', 'cummerata-plc-665', NULL, 'basic', 'active', '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tenants" ("id", "name", "email", "password", "subdomain", "database_name", "subscription_plan", "status", "created_at", "updated_at") VALUES ('31', 'Fourways Group', 'ops@fourways.example', '$2y$10$AcltO.QT0xX40ltANxC3p.nN6CEKZmke5ap3MqH1h0SmRuJ/lIepi', 'fourways', NULL, 'Enterprise', 'active', '2026-01-13 20:11:11', '2026-01-13 20:11:11');

-- Table: trips
CREATE TABLE "trips" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "vehicle_id" integer not null, "start_location" varchar not null, "end_location" varchar not null, "start_time" datetime not null, "end_time" datetime, "distance" numeric, "status" varchar, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("vehicle_id") references "vehicles"("id") on delete cascade);

INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('1', '1', '1', 'Garnettborough', 'North Jeffereyburgh', '2025-12-15 05:14:31', '2026-01-08 19:29:31', '214.67', 'completed', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('2', '1', '1', 'Rheamouth', 'Port Daija', '2026-01-09 04:25:24', '2026-01-11 10:36:53', '196.49', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('3', '1', '1', 'Lake Samarastad', 'Lake Chaya', '2025-12-20 06:48:20', '2026-01-11 00:37:21', '383.8', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('4', '1', '1', 'Metzshire', 'Wehnerbury', '2025-12-12 02:24:28', '2026-01-05 17:26:06', '394.42', 'completed', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('5', '1', '2', 'Velmachester', 'Delfinashire', '2026-01-10 08:13:00', '2026-01-11 16:18:23', '434.23', 'completed', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('6', '1', '2', 'Lake Lawrence', 'Weimannberg', '2025-12-17 23:50:24', '2026-01-12 11:27:51', '477.12', 'completed', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('7', '1', '2', 'New Alexandreport', 'Olsonberg', '2025-12-26 14:11:49', '2026-01-01 10:19:00', '467', 'completed', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('8', '1', '2', 'Rolandoport', 'Watersview', '2025-12-12 22:53:51', '2025-12-19 05:57:32', '326.15', 'completed', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('9', '1', '3', 'New Domenictown', 'Boyerside', '2025-12-29 15:45:43', '2026-01-01 15:54:42', '17.92', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('10', '1', '3', 'West Pamelahaven', 'Candidotown', '2026-01-03 17:29:04', '2026-01-06 21:39:33', '176.73', 'completed', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('11', '1', '3', 'South Kavon', 'Macejkovicton', '2025-12-21 22:04:19', '2025-12-28 16:39:39', '108.69', 'completed', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('12', '1', '3', 'Halleland', 'South Damienview', '2025-12-24 11:41:44', '2026-01-08 15:57:46', '130.45', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('13', '2', '4', 'Lonnytown', 'Jettshire', '2026-01-02 13:38:46', '2026-01-06 08:21:31', '88.3', 'completed', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('14', '2', '4', 'Lake Andersontown', 'Hannabury', '2026-01-10 17:09:54', '2026-01-11 15:06:39', '105.52', 'completed', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('15', '2', '4', 'Ryderfurt', 'Lake Sallie', '2026-01-07 10:11:02', '2026-01-09 23:52:35', '24.31', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('16', '2', '4', 'West Westleyside', 'Muellermouth', '2025-12-30 03:40:16', '2025-12-31 11:53:17', '364.74', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('17', '2', '5', 'Port Emerson', 'Port Letha', '2026-01-07 14:53:27', '2026-01-11 01:26:53', '240.19', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('18', '2', '5', 'South Nya', 'North Vada', '2026-01-01 14:02:01', '2026-01-04 07:19:57', '315.42', 'completed', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('19', '2', '5', 'South Nat', 'North Carrieside', '2025-12-20 06:29:59', '2025-12-22 13:38:12', '451.51', 'active', '2026-01-11 11:45:20', '2026-01-11 11:45:20');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('20', '2', '5', 'Nedrachester', 'Gutkowskiport', '2026-01-09 05:29:15', '2026-01-10 23:51:48', '273.83', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('21', '2', '6', 'North Willard', 'North Johnpaul', '2026-01-01 06:41:17', '2026-01-08 22:30:28', '29.93', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('22', '2', '6', 'Wavaberg', 'Schummmouth', '2025-12-27 18:03:03', '2025-12-30 09:58:49', '415.27', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('23', '2', '6', 'Strackeland', 'Lake Valentinaland', '2026-01-10 10:20:34', '2026-01-11 07:24:40', '366.6', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('24', '2', '6', 'Koeppstad', 'Lizethstad', '2025-12-29 22:13:07', '2026-01-05 11:32:39', '3.85', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('25', '3', '7', 'North Enochmouth', 'Lake Stevie', '2025-12-31 00:53:05', '2025-12-31 12:12:28', '263.28', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('26', '3', '7', 'Edythberg', 'North Archibaldshire', '2025-12-17 20:35:01', '2026-01-05 16:38:49', '423.8', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('27', '3', '7', 'Goldnerstad', 'East Moriah', '2025-12-19 00:52:00', '2025-12-23 18:10:20', '234.34', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('28', '3', '7', 'South Autumntown', 'New Dallasfurt', '2026-01-02 15:21:02', '2026-01-12 09:43:49', '204.76', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('29', '3', '8', 'Gilbertport', 'North Toreyburgh', '2025-12-21 13:49:39', '2026-01-10 22:43:14', '237.76', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('30', '3', '8', 'Mayaland', 'West Annie', '2026-01-05 01:50:38', '2026-01-10 18:15:16', '44.72', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('31', '3', '8', 'Townetown', 'Mullerfurt', '2025-12-26 01:55:35', '2026-01-02 06:17:33', '371.02', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('32', '3', '8', 'East Alisatown', 'South Genesisfurt', '2025-12-18 05:04:06', '2026-01-05 20:48:30', '402.5', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('33', '3', '9', 'Gorczanyview', 'Mayertbury', '2025-12-15 06:52:38', '2025-12-27 06:50:04', '298.69', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('34', '3', '9', 'Fisherview', 'Gerholdtown', '2025-12-26 07:33:21', '2026-01-02 04:02:12', '79.06', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('35', '3', '9', 'Kleinview', 'Dakotashire', '2026-01-01 21:27:22', '2026-01-02 04:43:06', '100.15', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('36', '3', '9', 'Herminastad', 'Ovamouth', '2025-12-15 11:02:26', '2025-12-18 21:16:43', '139.17', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('37', '4', '10', 'Port Reymundo', 'Jannieland', '2025-12-20 07:31:02', '2025-12-23 01:18:49', '295.21', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('38', '4', '10', 'West Damonton', 'Port Christiana', '2025-12-28 02:35:17', '2025-12-28 19:50:54', '21.15', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('39', '4', '10', 'Ardellaburgh', 'Kareembury', '2025-12-16 18:12:57', '2026-01-09 04:26:28', '478.21', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('40', '4', '10', 'Williebury', 'North Madisen', '2025-12-14 17:42:59', '2026-01-03 05:49:19', '489.04', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('41', '4', '11', 'Kubfort', 'Port Nannieberg', '2026-01-05 21:12:48', '2026-01-07 00:13:39', '117.83', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('42', '4', '11', 'Florencefort', 'Herthahaven', '2025-12-14 11:49:46', '2026-01-02 18:49:18', '185.26', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('43', '4', '11', 'West Emiliomouth', 'North Savannachester', '2026-01-02 14:02:34', '2026-01-02 19:48:02', '304.54', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('44', '4', '11', 'Bernhardhaven', 'Lake Madisontown', '2026-01-05 16:17:21', '2026-01-07 11:46:03', '99.76', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('45', '4', '12', 'Trevaside', 'New Aiyana', '2025-12-31 04:54:05', '2026-01-11 17:43:49', '473.59', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('46', '4', '12', 'Krisport', 'Langstad', '2026-01-01 18:48:32', '2026-01-08 12:24:08', '342.89', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('47', '4', '12', 'Champlintown', 'Wolffmouth', '2025-12-26 12:31:24', '2025-12-30 08:44:59', '352.34', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('48', '4', '12', 'South Joaniestad', 'Herbertmouth', '2025-12-25 11:19:22', '2026-01-08 03:11:48', '54.68', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('49', '5', '13', 'Myahhaven', 'Nestorchester', '2025-12-28 23:40:33', '2026-01-10 22:13:49', '27.35', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('50', '5', '13', 'West Lolitaberg', 'Champlinland', '2026-01-03 18:27:42', '2026-01-11 21:41:49', '135.5', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('51', '5', '13', 'East Cindyfort', 'East Ayanamouth', '2025-12-12 22:50:15', '2025-12-28 15:01:39', '255.81', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('52', '5', '13', 'Port Caden', 'South Marshallfurt', '2025-12-15 19:47:36', '2025-12-20 12:31:23', '160.55', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('53', '5', '14', 'Port Domenickborough', 'Zelmamouth', '2025-12-14 09:39:15', '2025-12-31 06:37:54', '152.21', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('54', '5', '14', 'New Arlieville', 'North Nikita', '2026-01-11 08:47:02', '2026-01-11 20:28:06', '343.89', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('55', '5', '14', 'Lake Roselynfort', 'East Melyssashire', '2025-12-29 22:45:24', '2026-01-03 22:55:26', '187.09', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('56', '5', '14', 'Hoppeberg', 'Ortizfort', '2025-12-30 18:24:13', '2026-01-08 14:08:52', '459.89', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('57', '5', '15', 'North Sheachester', 'Baumbachburgh', '2025-12-30 05:37:35', '2026-01-11 23:31:25', '301.01', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('58', '5', '15', 'Sibylberg', 'Marcellehaven', '2025-12-29 09:00:42', '2025-12-31 12:02:07', '463.68', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('59', '5', '15', 'Croninfurt', 'Jettborough', '2025-12-15 17:32:54', '2025-12-27 16:58:31', '440.84', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('60', '5', '15', 'South Edgardoton', 'Lake Devyn', '2026-01-03 08:35:51', '2026-01-07 14:19:23', '218.37', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('61', '6', '16', 'South Spencer', 'New Leo', '2025-12-15 20:41:04', '2025-12-15 22:46:47', '5.56', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('62', '6', '16', 'Lolitastad', 'New Darren', '2025-12-23 10:13:55', '2026-01-05 12:38:15', '365.59', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('63', '6', '16', 'North Pierce', 'Robelshire', '2026-01-11 08:12:21', '2026-01-12 08:44:42', '415.41', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('64', '6', '16', 'Swiftfurt', 'New Annabell', '2026-01-09 16:22:10', '2026-01-10 09:52:26', '140.1', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('65', '6', '17', 'Kristoferside', 'Annieville', '2025-12-26 04:19:19', '2026-01-05 01:17:18', '44.32', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('66', '6', '17', 'North Zacharyborough', 'Port Zachariahtown', '2026-01-09 11:59:38', '2026-01-11 06:52:35', '110.79', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('67', '6', '17', 'Bergstromport', 'Paucekport', '2025-12-16 19:33:34', '2025-12-31 10:38:37', '175.37', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('68', '6', '17', 'Simonischester', 'Lake Edmondmouth', '2026-01-02 04:24:50', '2026-01-06 01:19:52', '233.12', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('69', '6', '18', 'New Laurence', 'Michelefort', '2025-12-12 12:11:02', '2026-01-11 19:16:08', '59.54', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('70', '6', '18', 'Tateton', 'Garetthaven', '2025-12-23 04:09:59', '2025-12-28 06:48:53', '22.27', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('71', '6', '18', 'Howardfurt', 'East Edgarfurt', '2025-12-26 08:28:59', '2026-01-07 19:00:49', '491.42', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('72', '6', '18', 'North Eino', 'Luettgenborough', '2025-12-19 16:12:16', '2026-01-02 09:03:16', '229.18', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('73', '7', '19', 'Port Selinafort', 'Darrylton', '2025-12-13 03:18:14', '2025-12-26 08:19:23', '43.62', 'active', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('74', '7', '19', 'New Augusta', 'East Ginamouth', '2026-01-02 13:33:20', '2026-01-10 07:01:45', '241.11', 'completed', '2026-01-11 11:45:21', '2026-01-11 11:45:21');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('75', '7', '19', 'Willmsshire', 'Koelpinville', '2025-12-16 04:21:03', '2025-12-30 02:13:13', '29.08', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('76', '7', '19', 'Woodrowview', 'Crystelville', '2026-01-07 16:29:21', '2026-01-09 03:53:32', '91.37', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('77', '7', '20', 'Lake Jayceefurt', 'New Idella', '2025-12-30 08:06:48', '2026-01-08 17:47:22', '187.73', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('78', '7', '20', 'Gerlachfurt', 'South Rubye', '2026-01-02 13:46:22', '2026-01-06 04:45:25', '401.17', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('79', '7', '20', 'New Dinoborough', 'Medhurstfurt', '2025-12-27 09:28:16', '2026-01-02 07:35:20', '231.97', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('80', '7', '20', 'Odessamouth', 'South Ethelynhaven', '2025-12-24 05:08:42', '2026-01-06 00:28:40', '116.02', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('81', '7', '21', 'Rathtown', 'Lake Maude', '2026-01-04 04:54:56', '2026-01-08 16:23:23', '412.9', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('82', '7', '21', 'New Leonelburgh', 'McClureborough', '2025-12-19 01:42:09', '2026-01-03 00:08:06', '205.84', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('83', '7', '21', 'Arachester', 'New Jolieport', '2026-01-09 04:46:28', '2026-01-10 03:29:29', '98.87', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('84', '7', '21', 'Jacintheport', 'Vickyburgh', '2025-12-30 07:39:41', '2026-01-07 02:09:03', '12.08', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('85', '8', '22', 'East Alexandrabury', 'Faheyshire', '2025-12-17 17:43:25', '2025-12-21 15:17:22', '354.07', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('86', '8', '22', 'Schaeferchester', 'Port Rickview', '2026-01-07 07:04:43', '2026-01-11 21:51:11', '122.11', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('87', '8', '22', 'East Medaton', 'South Maidaville', '2025-12-31 00:47:06', '2026-01-11 06:54:20', '478.79', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('88', '8', '22', 'Deronport', 'South Mona', '2026-01-09 23:16:10', '2026-01-10 12:04:36', '397.81', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('89', '8', '23', 'South Jaimemouth', 'North Onietown', '2026-01-04 17:25:30', '2026-01-08 16:21:24', '310.61', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('90', '8', '23', 'New Alysa', 'East Everett', '2025-12-21 18:27:02', '2025-12-24 23:06:29', '450.33', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('91', '8', '23', 'Port Kendraville', 'New Bill', '2025-12-11 14:15:33', '2025-12-13 00:34:58', '288.64', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('92', '8', '23', 'East Jonathan', 'Blockville', '2025-12-21 23:01:54', '2025-12-23 01:24:36', '244.57', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('93', '8', '24', 'Denesikhaven', 'Lake Maxwell', '2025-12-19 10:57:03', '2025-12-22 15:59:22', '223.09', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('94', '8', '24', 'Vonmouth', 'Kundefort', '2026-01-04 08:38:12', '2026-01-09 06:08:20', '471.83', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('95', '8', '24', 'East Faustino', 'Mitchelstad', '2025-12-19 21:56:01', '2026-01-04 14:49:09', '216.98', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('96', '8', '24', 'Ernsermouth', 'West Berthaberg', '2025-12-25 15:14:00', '2026-01-02 14:02:01', '344.26', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('97', '9', '25', 'North Myrtlebury', 'Marianoview', '2025-12-31 19:27:08', '2026-01-08 02:29:17', '453.98', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('98', '9', '25', 'Langstad', 'New Elsie', '2025-12-19 12:26:52', '2025-12-24 03:54:43', '398.17', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('99', '9', '25', 'Emmetthaven', 'South Jaquelinechester', '2025-12-24 00:29:43', '2025-12-27 09:26:07', '297.19', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('100', '9', '25', 'Port Ben', 'Riceborough', '2025-12-26 12:07:42', '2025-12-31 21:43:48', '28.19', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('101', '9', '26', 'North Eunice', 'Guadalupeside', '2025-12-15 10:54:30', '2026-01-05 01:59:30', '18.61', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('102', '9', '26', 'Stokeschester', 'Port Meganefort', '2025-12-15 22:23:52', '2025-12-20 10:05:13', '106.02', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('103', '9', '26', 'East Solonberg', 'Port Wiltonfurt', '2025-12-31 01:55:31', '2026-01-10 15:54:20', '279.84', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('104', '9', '26', 'South Karina', 'Keonview', '2026-01-05 15:23:31', '2026-01-11 06:19:41', '344.66', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('105', '9', '27', 'Holdenfort', 'New Wendell', '2025-12-15 08:19:06', '2026-01-02 19:30:56', '398.29', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('106', '9', '27', 'Skylarville', 'Yolandafurt', '2025-12-25 18:08:52', '2026-01-06 18:48:27', '4.45', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('107', '9', '27', 'Port Neal', 'Lake Tyshawnton', '2025-12-17 09:34:12', '2026-01-05 07:34:21', '92.47', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('108', '9', '27', 'Crawfordtown', 'Freemanland', '2026-01-09 22:37:35', '2026-01-11 06:01:42', '234.56', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('109', '10', '28', 'North Lavern', 'Harbershire', '2025-12-16 10:00:35', '2026-01-11 08:28:32', '192.07', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('110', '10', '28', 'Koeppmouth', 'Port Ryannmouth', '2025-12-14 09:54:57', '2026-01-03 05:43:19', '313.06', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('111', '10', '28', 'Lake Jane', 'West Salma', '2026-01-05 10:36:06', '2026-01-12 01:44:46', '334.81', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('112', '10', '28', 'North Rayfort', 'New Cordell', '2026-01-09 18:59:49', '2026-01-10 14:51:20', '299.61', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('113', '10', '29', 'Weimannton', 'O''Harabury', '2025-12-22 02:20:52', '2025-12-30 21:55:08', '462.16', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('114', '10', '29', 'Lavonville', 'Morarton', '2025-12-25 21:57:23', '2026-01-06 17:43:14', '489.03', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('115', '10', '29', 'Port Monica', 'Rubiemouth', '2025-12-24 22:35:59', '2026-01-11 08:26:17', '69.25', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('116', '10', '29', 'South Lon', 'North Mosesmouth', '2025-12-21 20:43:25', '2025-12-28 02:22:25', '235.69', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('117', '10', '30', 'New Cindy', 'Hettingerfort', '2026-01-10 15:40:34', '2026-01-11 18:26:48', '330.5', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('118', '10', '30', 'Eloisaton', 'Brakusville', '2026-01-02 02:28:06', '2026-01-06 09:45:20', '29.47', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('119', '10', '30', 'North Piper', 'North Kathryne', '2025-12-31 04:44:17', '2026-01-11 07:50:15', '166.14', 'completed', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('120', '10', '30', 'South Palmamouth', 'Hegmannstad', '2026-01-05 23:58:42', '2026-01-11 15:19:21', '95.28', 'active', '2026-01-11 11:45:22', '2026-01-11 11:45:22');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('121', '21', '35', 'Chaztown', 'Sylvesterton', '2026-01-09 02:08:12', '2026-01-11 17:21:25', '246.44', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('122', '21', '35', 'Rippinberg', 'West Maida', '2025-12-20 10:04:35', '2025-12-27 17:57:39', '371.77', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('123', '21', '35', 'Hermanstad', 'Johnsonberg', '2026-01-05 17:15:52', '2026-01-08 17:06:50', '101.49', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('124', '21', '35', 'Elisastad', 'Durganberg', '2026-01-06 12:15:23', '2026-01-10 05:24:11', '397.31', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('125', '21', '36', 'North Garland', 'Estebanshire', '2026-01-03 04:39:18', '2026-01-09 11:36:32', '424.55', 'completed', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('126', '21', '36', 'Claramouth', 'Lysanneberg', '2025-12-23 08:11:16', '2026-01-07 20:06:10', '327.42', 'completed', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('127', '21', '36', 'Bruenview', 'Yostville', '2025-12-17 14:25:00', '2026-01-12 03:45:48', '148.42', 'completed', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('128', '21', '36', 'South Arturo', 'Norvalport', '2025-12-21 03:03:54', '2026-01-11 02:25:10', '347.12', 'completed', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('129', '21', '37', 'Gutmannport', 'Gloverchester', '2025-12-18 06:29:39', '2025-12-27 22:42:04', '34.56', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('130', '21', '37', 'Sheridanland', 'Goyetteborough', '2025-12-31 09:32:22', '2026-01-06 16:03:07', '295.47', 'completed', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('131', '21', '37', 'Lake Bobbiefurt', 'Reynoldsmouth', '2025-12-15 03:11:34', '2025-12-22 08:49:02', '111.28', 'completed', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('132', '21', '37', 'Destinimouth', 'Maximeport', '2026-01-02 20:59:08', '2026-01-04 06:09:40', '164', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('133', '21', '38', 'Lake Harmonchester', 'Schulistfurt', '2026-01-07 17:57:50', '2026-01-11 15:17:41', '463.33', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('134', '21', '38', 'West Chaseville', 'Port Garnet', '2025-12-16 02:44:23', '2026-01-08 16:26:36', '113.07', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('135', '21', '38', 'South Lafayettetown', 'New Pearlhaven', '2025-12-16 16:29:59', '2025-12-23 00:05:42', '310.26', 'completed', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('136', '21', '38', 'Beauborough', 'Port Warrenshire', '2026-01-03 02:55:50', '2026-01-09 14:24:46', '463.99', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('137', '22', '39', 'Lake Raven', 'Nienowton', '2025-12-12 17:59:07', '2025-12-15 20:08:57', '107.75', 'completed', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('138', '22', '39', 'Schneiderbury', 'Averyborough', '2025-12-18 02:05:42', '2025-12-24 08:34:49', '37.94', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('139', '22', '39', 'Port Vernaville', 'Keelingborough', '2025-12-21 11:27:35', '2026-01-06 09:27:59', '352.84', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('140', '22', '39', 'Kesslerfort', 'Orlandoborough', '2025-12-26 14:38:28', '2026-01-07 03:05:47', '278.73', 'completed', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('141', '22', '40', 'Port Modestaport', 'Emmethaven', '2026-01-06 12:00:16', '2026-01-06 14:11:15', '279.07', 'completed', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('142', '22', '40', 'North Jalon', 'Wendellburgh', '2026-01-01 08:10:28', '2026-01-09 04:05:17', '189.04', 'completed', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('143', '22', '40', 'New Rosendo', 'Hirthechester', '2026-01-07 11:45:40', '2026-01-10 23:55:52', '230.14', 'completed', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('144', '22', '40', 'Dachside', 'Port Joelle', '2025-12-18 21:21:15', '2025-12-27 11:39:57', '256.69', 'completed', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('145', '22', '41', 'Romagueraville', 'West Charlenehaven', '2026-01-06 13:31:40', '2026-01-08 19:32:03', '408.76', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('146', '22', '41', 'Darianahaven', 'Itzelchester', '2025-12-23 20:41:51', '2025-12-24 04:54:48', '173.03', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('147', '22', '41', 'North Sabryna', 'West Carolyneside', '2025-12-27 12:39:38', '2026-01-11 22:15:57', '125.65', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('148', '22', '41', 'West Niaburgh', 'Schulistberg', '2025-12-17 15:47:17', '2025-12-31 18:02:13', '482.5', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('149', '22', '42', 'Robertaland', 'East Brannon', '2025-12-30 02:46:32', '2026-01-05 16:41:52', '470.4', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('150', '22', '42', 'South Elisaberg', 'Conroyside', '2025-12-19 05:52:24', '2026-01-06 17:41:38', '344.48', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('151', '22', '42', 'New Alford', 'Thielhaven', '2025-12-17 06:53:34', '2025-12-22 01:11:03', '110.8', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('152', '22', '42', 'North Kathryn', 'Ritchieshire', '2025-12-13 17:54:23', '2026-01-10 15:19:02', '441.33', 'active', '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('153', '23', '43', 'Rodrigueztown', 'West Lavon', '2025-12-16 11:55:48', '2025-12-21 04:25:22', '3', 'active', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('154', '23', '43', 'Wittingport', 'East Rafaelfurt', '2026-01-11 07:42:08', '2026-01-12 04:03:24', '213.26', 'completed', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('155', '23', '43', 'North Ruthieberg', 'Cristfort', '2025-12-14 18:03:36', '2025-12-22 15:10:07', '484.98', 'active', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('156', '23', '43', 'Hillfurt', 'Jakobland', '2026-01-01 07:54:04', '2026-01-04 02:11:21', '132.58', 'completed', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('157', '23', '44', 'East Mattieville', 'Joshuaville', '2025-12-16 22:15:42', '2026-01-09 04:19:00', '374.08', 'completed', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('158', '23', '44', 'Howeview', 'New Noemifort', '2025-12-29 17:28:19', '2026-01-05 04:17:20', '379.71', 'completed', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('159', '23', '44', 'South Katelynnmouth', 'Feilshire', '2026-01-08 09:07:12', '2026-01-10 10:10:41', '118.67', 'completed', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('160', '23', '44', 'West Miracleshire', 'North Ellis', '2025-12-14 09:52:48', '2025-12-30 02:01:39', '189.28', 'active', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('161', '23', '45', 'North Evaside', 'Labadieview', '2025-12-26 22:30:03', '2025-12-29 00:08:12', '474.17', 'active', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('162', '23', '45', 'Elzaland', 'East Mia', '2025-12-15 00:49:13', '2025-12-20 16:36:36', '158.02', 'active', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('163', '23', '45', 'Klockoland', 'New Stanleymouth', '2025-12-16 20:12:58', '2025-12-17 10:23:57', '427.26', 'active', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('164', '23', '45', 'North Darrintown', 'Bayerville', '2026-01-09 14:33:15', '2026-01-10 10:35:57', '449.41', 'active', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('165', '23', '46', 'Karlchester', 'D''Amorestad', '2025-12-19 10:29:30', '2025-12-19 19:38:54', '70.41', 'active', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('166', '23', '46', 'East Eleanoraborough', 'Kennediville', '2025-12-12 21:05:37', '2025-12-17 19:27:25', '460.87', 'completed', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('167', '23', '46', 'Pinkview', 'Cruztown', '2025-12-24 03:20:26', '2026-01-05 13:07:59', '384.5', 'active', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('168', '23', '46', 'Lake Adella', 'Ericfurt', '2025-12-27 09:24:17', '2025-12-27 13:42:55', '377.69', 'active', '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('169', '24', '47', 'South Deborahside', 'New Pascale', '2025-12-18 06:59:46', '2025-12-31 12:10:54', '53.97', 'completed', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('170', '24', '47', 'Kuhlmanmouth', 'South Annette', '2025-12-28 05:20:50', '2026-01-04 00:58:06', '85.75', 'active', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('171', '24', '47', 'Audreyhaven', 'Haleyfort', '2025-12-30 10:12:20', '2026-01-10 03:54:24', '179.24', 'active', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('172', '24', '47', 'Bahringerbury', 'New Marcus', '2025-12-14 07:04:50', '2025-12-30 07:06:53', '448.96', 'completed', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('173', '24', '48', 'South Erna', 'Yosthaven', '2026-01-07 13:59:08', '2026-01-08 20:59:49', '496.31', 'completed', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('174', '24', '48', 'South Judgetown', 'Heidiberg', '2026-01-11 06:16:56', '2026-01-11 11:37:26', '6.61', 'completed', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('175', '24', '48', 'Ortizberg', 'Welchfurt', '2025-12-23 05:54:04', '2026-01-03 08:06:59', '417.64', 'completed', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('176', '24', '48', 'New Verniemouth', 'West Baronberg', '2026-01-08 18:51:18', '2026-01-09 16:10:25', '76.73', 'active', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('177', '24', '49', 'Maxineside', 'Port Elwyn', '2025-12-31 07:07:51', '2026-01-06 21:48:30', '283.92', 'active', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('178', '24', '49', 'West Trentonton', 'New Sierra', '2026-01-04 22:12:00', '2026-01-12 06:03:05', '398.28', 'completed', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('179', '24', '49', 'Esmeraldaton', 'Jordanfurt', '2025-12-18 10:54:10', '2025-12-30 17:49:38', '485.23', 'active', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('180', '24', '49', 'Matildachester', 'Effertztown', '2026-01-03 03:05:13', '2026-01-06 03:45:41', '325.34', 'active', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('181', '24', '50', 'New Chester', 'Faheybury', '2025-12-16 08:16:09', '2025-12-22 02:20:44', '298.31', 'completed', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('182', '24', '50', 'Julianland', 'Danniestad', '2025-12-12 11:43:07', '2026-01-06 04:43:25', '128.54', 'active', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('183', '24', '50', 'Jaysonside', 'North Micaelaton', '2025-12-29 16:51:56', '2026-01-01 16:03:03', '148.59', 'completed', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('184', '24', '50', 'Port Lisettemouth', 'Lorenzofort', '2026-01-06 03:28:20', '2026-01-08 15:07:04', '493.28', 'active', '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('185', '25', '51', 'Port Garry', 'Quigleyview', '2025-12-16 21:28:53', '2025-12-25 17:15:47', '38.82', 'active', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('186', '25', '51', 'Adeliaberg', 'Emardview', '2026-01-05 10:05:11', '2026-01-08 12:11:39', '338.08', 'active', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('187', '25', '51', 'West Hansville', 'Fredburgh', '2025-12-19 23:12:15', '2026-01-08 03:25:52', '192.46', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('188', '25', '51', 'North Reaganstad', 'Thompsonville', '2026-01-10 09:42:03', '2026-01-10 14:32:26', '363.05', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('189', '25', '52', 'Robertoberg', 'North Natalia', '2026-01-11 02:28:04', '2026-01-11 14:48:23', '424.53', 'active', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('190', '25', '52', 'West Adalineburgh', 'East Magnusfort', '2026-01-02 14:17:13', '2026-01-09 16:58:07', '34.13', 'active', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('191', '25', '52', 'Port Laylatown', 'Ruthview', '2025-12-22 21:11:35', '2026-01-02 20:06:24', '461.57', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('192', '25', '52', 'Dachstad', 'West Kipborough', '2026-01-10 04:58:42', '2026-01-10 18:11:22', '110.08', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('193', '25', '53', 'Unastad', 'Lake Emilioport', '2025-12-18 13:48:32', '2025-12-23 10:56:54', '416.87', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('194', '25', '53', 'Dorrisbury', 'West Margaretberg', '2025-12-25 22:43:44', '2026-01-02 01:19:29', '84.12', 'active', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('195', '25', '53', 'Cristobalstad', 'Jeanview', '2026-01-04 00:45:43', '2026-01-10 18:56:31', '104.58', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('196', '25', '53', 'Hillsport', 'East Herbert', '2025-12-15 15:09:43', '2025-12-28 11:49:20', '14.86', 'active', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('197', '25', '54', 'New Saul', 'North Burnice', '2026-01-02 08:13:34', '2026-01-08 09:04:30', '139.35', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('198', '25', '54', 'East Prudencefurt', 'North Golda', '2025-12-16 21:55:12', '2026-01-06 13:45:40', '280.35', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('199', '25', '54', 'Louieshire', 'East Carmeloshire', '2025-12-28 15:44:47', '2026-01-01 15:57:40', '71.06', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('200', '25', '54', 'East Margaret', 'West Deventown', '2025-12-18 06:04:20', '2026-01-02 15:35:22', '182.05', 'active', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('201', '26', '55', 'Port Mauriceside', 'West Briannestad', '2025-12-22 21:42:50', '2026-01-01 13:19:48', '326.29', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('202', '26', '55', 'Stiedemannburgh', 'East Jaylin', '2026-01-03 03:26:10', '2026-01-06 14:04:49', '205.03', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('203', '26', '55', 'Lake Orlo', 'Lake Jaydonfurt', '2025-12-30 05:26:18', '2026-01-01 19:31:55', '105.1', 'active', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('204', '26', '55', 'Marquisemouth', 'New Bella', '2025-12-24 01:56:18', '2025-12-26 17:20:21', '94.51', 'active', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('205', '26', '56', 'Crookshaven', 'Reichelton', '2025-12-16 14:16:22', '2025-12-24 01:24:59', '442.48', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('206', '26', '56', 'Bergstromchester', 'South Lonnie', '2025-12-29 10:08:55', '2026-01-01 14:17:36', '311.6', 'active', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('207', '26', '56', 'Lake Erwinbury', 'New Roxanne', '2025-12-16 23:11:07', '2025-12-23 10:24:34', '358.68', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('208', '26', '56', 'West Ernestborough', 'Miraclefort', '2025-12-28 22:47:30', '2026-01-09 06:28:28', '293.58', 'active', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('209', '26', '57', 'South Hershelport', 'South Shakirashire', '2025-12-14 14:09:19', '2026-01-07 19:41:08', '252.84', 'active', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('210', '26', '57', 'Brakusside', 'Queeniefort', '2025-12-13 00:50:17', '2026-01-01 02:10:07', '224.04', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('211', '26', '57', 'Robelfurt', 'East Jordi', '2026-01-02 04:57:22', '2026-01-08 12:45:02', '371.78', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('212', '26', '57', 'West Emery', 'Port Larryborough', '2025-12-26 17:43:21', '2025-12-31 07:52:00', '243.76', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('213', '26', '58', 'New Carli', 'South Heath', '2025-12-24 15:14:58', '2026-01-02 22:15:42', '106.63', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('214', '26', '58', 'Mervinhaven', 'New Rickytown', '2026-01-02 09:30:15', '2026-01-06 01:10:25', '427.69', 'completed', '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('215', '26', '58', 'Dylanfurt', 'Oralmouth', '2025-12-15 02:18:03', '2026-01-03 11:04:46', '497.62', 'active', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('216', '26', '58', 'Port Shannon', 'Kiaraside', '2025-12-22 04:59:28', '2026-01-07 21:04:40', '365.24', 'active', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('217', '27', '59', 'South Vestaton', 'Jakubowskiland', '2026-01-09 09:07:24', '2026-01-09 13:02:57', '35.43', 'active', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('218', '27', '59', 'Port Noeliaport', 'Hansenport', '2026-01-09 02:40:55', '2026-01-09 21:04:56', '235.58', 'completed', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('219', '27', '59', 'Guadalupeville', 'Rogahnton', '2025-12-20 22:39:18', '2025-12-21 18:11:50', '53.83', 'completed', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('220', '27', '59', 'New Cornell', 'West Liliane', '2025-12-30 09:24:31', '2026-01-11 08:27:12', '53.89', 'active', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('221', '27', '60', 'Strackehaven', 'Lake Wendellmouth', '2026-01-02 07:33:47', '2026-01-06 21:04:14', '473.78', 'completed', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('222', '27', '60', 'South Katrina', 'New Savanna', '2025-12-29 05:36:06', '2025-12-30 16:47:35', '148.9', 'completed', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('223', '27', '60', 'Port Jamir', 'Lake Emmanuelle', '2025-12-20 19:30:12', '2026-01-11 12:30:14', '78.65', 'completed', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('224', '27', '60', 'Liliantown', 'Shanahanshire', '2026-01-02 08:16:23', '2026-01-06 11:33:26', '225.54', 'completed', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('225', '27', '61', 'Port Vickie', 'East Alverastad', '2025-12-18 06:35:13', '2026-01-08 18:08:56', '44.64', 'active', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('226', '27', '61', 'East Megane', 'Legrosmouth', '2026-01-04 20:19:50', '2026-01-12 10:04:42', '90.56', 'completed', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('227', '27', '61', 'Justonville', 'Dellview', '2025-12-12 02:32:21', '2025-12-24 19:20:04', '241', 'completed', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('228', '27', '61', 'Port Landen', 'Kulasmouth', '2025-12-21 01:33:49', '2025-12-28 04:23:53', '168.66', 'active', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('229', '27', '62', 'New Sven', 'East Leoneport', '2025-12-17 20:36:54', '2026-01-10 09:37:36', '263.36', 'completed', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('230', '27', '62', 'West Graycemouth', 'Dimitrichester', '2025-12-18 17:12:35', '2025-12-26 16:55:35', '45.9', 'active', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('231', '27', '62', 'Kirkborough', 'Jaunitaside', '2025-12-20 09:34:39', '2025-12-20 20:25:35', '386.58', 'active', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('232', '27', '62', 'West Pearlfurt', 'East Josueview', '2025-12-22 11:29:20', '2026-01-07 03:34:20', '299.37', 'completed', '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('233', '28', '63', 'North Lazaroshire', 'Hiltonchester', '2025-12-27 03:39:35', '2026-01-12 01:45:20', '314.51', 'active', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('234', '28', '63', 'Bernhardshire', 'East Jordi', '2025-12-19 11:19:34', '2025-12-21 00:04:27', '416.25', 'completed', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('235', '28', '63', 'Jonathanview', 'Willchester', '2026-01-08 06:13:00', '2026-01-11 08:00:58', '369.76', 'completed', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('236', '28', '63', 'Haagburgh', 'Roderickborough', '2025-12-12 12:38:17', '2026-01-05 19:21:19', '261.1', 'active', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('237', '28', '64', 'Vickymouth', 'Port Nicholemouth', '2026-01-02 16:23:21', '2026-01-04 05:10:18', '159.68', 'completed', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('238', '28', '64', 'Annettastad', 'North Samirberg', '2026-01-09 06:19:11', '2026-01-09 06:55:05', '226.55', 'completed', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('239', '28', '64', 'Ernestobury', 'West Alia', '2025-12-16 16:43:34', '2025-12-31 15:04:35', '97.27', 'completed', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('240', '28', '64', 'Alvahburgh', 'Esperanzamouth', '2025-12-16 16:50:48', '2026-01-08 08:50:05', '327.65', 'completed', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('241', '28', '65', 'Dellhaven', 'Klockomouth', '2025-12-20 13:55:56', '2026-01-04 01:11:49', '413.73', 'active', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('242', '28', '65', 'Quintonfurt', 'Lake Kari', '2025-12-11 15:31:31', '2025-12-28 06:39:22', '338.2', 'completed', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('243', '28', '65', 'Roslynside', 'Ashlynnbury', '2026-01-04 03:12:52', '2026-01-10 11:27:42', '264.19', 'active', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('244', '28', '65', 'East Ruben', 'North Betsy', '2025-12-23 14:20:28', '2026-01-12 04:37:47', '493.45', 'active', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('245', '28', '66', 'Lake Conrad', 'Lake Mckaylafort', '2025-12-24 06:04:06', '2026-01-10 11:53:11', '204.81', 'completed', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('246', '28', '66', 'North Jaylinchester', 'Deondreton', '2026-01-04 04:45:39', '2026-01-04 15:43:17', '405.31', 'completed', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('247', '28', '66', 'Lindbury', 'Celinehaven', '2025-12-22 20:38:28', '2026-01-01 19:30:02', '136.94', 'active', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('248', '28', '66', 'North Princess', 'East Jeniferport', '2026-01-09 16:28:24', '2026-01-12 04:08:47', '111.97', 'active', '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('249', '29', '67', 'Dewittshire', 'Shaynashire', '2026-01-09 14:30:42', '2026-01-12 03:02:09', '349.87', 'completed', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('250', '29', '67', 'New Shanny', 'West Glennie', '2025-12-25 00:34:40', '2025-12-25 10:28:07', '171.71', 'active', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('251', '29', '67', 'Wilkinsonborough', 'Predovicburgh', '2026-01-11 06:50:26', '2026-01-12 04:43:54', '44.14', 'active', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('252', '29', '67', 'Lorenzaport', 'Cristshire', '2026-01-11 12:55:15', '2026-01-11 20:56:28', '169.41', 'completed', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('253', '29', '68', 'Mannville', 'Rosellabury', '2025-12-27 22:49:00', '2026-01-03 03:20:28', '287.77', 'completed', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('254', '29', '68', 'South Dagmarhaven', 'Dooleyside', '2026-01-01 05:32:13', '2026-01-05 15:52:02', '315.82', 'completed', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('255', '29', '68', 'South Andystad', 'East Melodyborough', '2026-01-11 12:39:08', '2026-01-12 08:11:01', '458', 'active', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('256', '29', '68', 'Lake Jimmyland', 'South Jerrod', '2025-12-12 16:25:58', '2025-12-14 02:17:43', '102.61', 'active', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('257', '29', '69', 'Turcottehaven', 'Port Lolita', '2026-01-02 21:39:19', '2026-01-09 08:03:07', '392.14', 'active', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('258', '29', '69', 'Dallasbury', 'Janicestad', '2025-12-21 20:13:30', '2025-12-28 05:18:51', '85.09', 'completed', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('259', '29', '69', 'Donatoside', 'North Bartholome', '2025-12-20 06:23:37', '2026-01-05 09:19:35', '281.88', 'completed', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('260', '29', '69', 'East Bette', 'West Orpha', '2025-12-17 14:40:42', '2026-01-09 09:25:40', '401.84', 'active', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('261', '29', '70', 'Tracytown', 'Howechester', '2025-12-15 11:15:11', '2026-01-08 20:01:56', '152.92', 'completed', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('262', '29', '70', 'Port Joey', 'Stromanton', '2025-12-25 07:04:05', '2026-01-09 10:34:25', '277.44', 'active', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('263', '29', '70', 'Port Nicoletteberg', 'Lakinton', '2025-12-25 02:15:59', '2025-12-28 02:35:35', '309.36', 'active', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('264', '29', '70', 'New Dennisburgh', 'Ilashire', '2025-12-15 02:41:24', '2025-12-28 04:44:06', '339.74', 'completed', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('265', '30', '71', 'Batzstad', 'New Harry', '2025-12-23 07:46:25', '2026-01-05 20:04:08', '20.52', 'completed', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('266', '30', '71', 'West Wilmerfort', 'West Sabrina', '2025-12-19 20:20:04', '2025-12-30 14:31:44', '430.83', 'active', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('267', '30', '71', 'New Gloriachester', 'Handstad', '2025-12-18 09:50:31', '2026-01-06 18:37:59', '150.22', 'active', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('268', '30', '71', 'Mayafurt', 'South Emorytown', '2026-01-06 16:01:53', '2026-01-08 01:56:45', '294.28', 'completed', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('269', '30', '72', 'East Edmondport', 'Saulshire', '2025-12-16 03:20:56', '2026-01-12 02:01:59', '422.58', 'completed', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('270', '30', '72', 'Hoegermouth', 'Pagacport', '2025-12-19 07:32:31', '2026-01-06 03:56:24', '447.65', 'completed', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('271', '30', '72', 'Wittingbury', 'Hartmannbury', '2025-12-20 18:38:44', '2025-12-30 09:49:57', '261.28', 'completed', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('272', '30', '72', 'South Johathan', 'Hauckview', '2025-12-18 05:58:45', '2025-12-22 22:47:43', '447.24', 'active', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('273', '30', '73', 'North Hunterborough', 'Margarettaville', '2025-12-20 21:49:04', '2025-12-26 16:29:40', '362.79', 'active', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('274', '30', '73', 'West Anniestad', 'Port Karina', '2025-12-12 19:30:12', '2025-12-22 02:32:04', '20.28', 'active', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('275', '30', '73', 'Port Matteomouth', 'New Kayliechester', '2025-12-19 17:25:06', '2026-01-03 01:53:15', '161.19', 'active', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('276', '30', '73', 'East Dixie', 'Port Busterhaven', '2025-12-20 02:17:06', '2026-01-02 14:37:48', '409.04', 'active', '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('277', '30', '74', 'North Amie', 'South Joesphmouth', '2026-01-08 21:21:31', '2026-01-09 23:48:01', '389.74', 'active', '2026-01-11 14:11:01', '2026-01-11 14:11:01');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('278', '30', '74', 'Port Ashly', 'North Ardith', '2026-01-11 05:34:50', '2026-01-12 05:39:02', '205.78', 'active', '2026-01-11 14:11:01', '2026-01-11 14:11:01');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('279', '30', '74', 'Lake Yasminebury', 'Hermanshire', '2025-12-26 12:19:53', '2026-01-02 07:09:20', '486.35', 'completed', '2026-01-11 14:11:01', '2026-01-11 14:11:01');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('280', '30', '74', 'Lake Filibertostad', 'East Fermin', '2025-12-28 18:16:00', '2026-01-10 17:36:46', '498.93', 'active', '2026-01-11 14:11:01', '2026-01-11 14:11:01');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('281', '31', '75', 'Quarry Face 3', 'Primary Crusher', '2026-01-13 01:15:03', '2026-01-13 17:15:03', '11', 'completed', '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('282', '31', '76', 'Quarry Face 3', 'Primary Crusher', '2026-01-12 16:15:03', '2026-01-13 16:15:03', '11', 'completed', '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('283', '31', '77', 'Quarry Face 3', 'Primary Crusher', '2026-01-12 17:15:03', '2026-01-13 15:15:03', '17', 'completed', '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('284', '31', '78', 'Quarry Face 3', 'Primary Crusher', '2026-01-12 17:15:03', '2026-01-13 16:15:03', '22', 'completed', '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('285', '31', '79', 'Quarry Face 3', 'Primary Crusher', '2026-01-13 01:15:03', '2026-01-13 15:15:03', '16', 'completed', '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('286', '31', '80', 'Quarry Face 3', 'Primary Crusher', '2026-01-13 07:15:03', '2026-01-13 17:15:03', '12', 'completed', '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('287', '31', '81', 'Quarry Face 3', 'Primary Crusher', '2026-01-13 09:15:03', '2026-01-13 16:15:03', '19', 'completed', '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "trips" ("id", "tenant_id", "vehicle_id", "start_location", "end_location", "start_time", "end_time", "distance", "status", "created_at", "updated_at") VALUES ('288', '31', '82', 'Quarry Face 3', 'Primary Crusher', '2026-01-13 04:15:03', '2026-01-13 17:15:03', '12', 'completed', '2026-01-13 20:15:03', '2026-01-13 20:15:03');

-- Table: tyre_rotations
CREATE TABLE "tyre_rotations" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "tyre_id" integer not null, "asset_id" integer not null, "from_position" varchar, "to_position" varchar, "rotated_at" datetime, "notes" text, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("tyre_id") references "tyres"("id") on delete cascade, foreign key("asset_id") references "assets"("id") on delete cascade);


-- Table: tyres
CREATE TABLE "tyres" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "asset_id" integer not null, "position" varchar, "serial_number" varchar, "brand" varchar, "model" varchar, "tread_depth" numeric, "status" varchar not null default 'active', "installed_at" datetime, "removed_at" datetime, "failure_reason" varchar, "notes" text, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("asset_id") references "assets"("id") on delete cascade);

INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('1', '21', '59', 'Front Left', 'TY-3495', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:53', NULL, NULL, NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('2', '21', '60', 'Front Left', 'TY-0100', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:53', NULL, NULL, NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('3', '21', '61', 'Front Left', 'TY-3778', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:53', NULL, NULL, NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('4', '21', '62', 'Front Left', 'TY-2681', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:53', NULL, NULL, NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('5', '21', '63', 'Front Left', 'TY-3913', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:53', NULL, NULL, NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('6', '21', '64', 'Front Left', 'TY-7716', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:53', NULL, NULL, NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('7', '21', '65', 'Front Left', 'TY-7219', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:53', NULL, NULL, NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('8', '21', '66', 'Front Left', 'TY-0546', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:53', NULL, NULL, NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('9', '22', '67', 'Front Left', 'TY-1663', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:54', NULL, NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('10', '22', '68', 'Front Left', 'TY-7398', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:54', NULL, NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('11', '22', '69', 'Front Left', 'TY-5436', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:54', NULL, NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('12', '22', '70', 'Front Left', 'TY-7582', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:54', NULL, NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('13', '22', '71', 'Front Left', 'TY-2306', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:54', NULL, NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('14', '22', '72', 'Front Left', 'TY-1492', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:54', NULL, NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('15', '22', '73', 'Front Left', 'TY-1385', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:54', NULL, NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('16', '22', '74', 'Front Left', 'TY-5359', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:54', NULL, NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('17', '23', '75', 'Front Left', 'TY-9127', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:55', NULL, NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('18', '23', '76', 'Front Left', 'TY-8851', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:55', NULL, NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('19', '23', '77', 'Front Left', 'TY-2285', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:55', NULL, NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('20', '23', '78', 'Front Left', 'TY-8014', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:55', NULL, NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('21', '23', '79', 'Front Left', 'TY-1477', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:55', NULL, NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('22', '23', '80', 'Front Left', 'TY-5309', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:55', NULL, NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('23', '23', '81', 'Front Left', 'TY-2269', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:55', NULL, NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('24', '23', '82', 'Front Left', 'TY-5536', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:55', NULL, NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('25', '24', '83', 'Front Left', 'TY-0241', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:55', NULL, NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('26', '24', '84', 'Front Left', 'TY-8831', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:56', NULL, NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('27', '24', '85', 'Front Left', 'TY-8055', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:56', NULL, NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('28', '24', '86', 'Front Left', 'TY-5897', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:56', NULL, NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('29', '24', '87', 'Front Left', 'TY-9093', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:56', NULL, NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('30', '24', '88', 'Front Left', 'TY-0069', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:56', NULL, NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('31', '24', '89', 'Front Left', 'TY-6567', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:56', NULL, NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('32', '24', '90', 'Front Left', 'TY-3608', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:56', NULL, NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('33', '25', '91', 'Front Left', 'TY-1703', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:56', NULL, NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('34', '25', '92', 'Front Left', 'TY-2578', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:56', NULL, NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('35', '25', '93', 'Front Left', 'TY-2798', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:56', NULL, NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('36', '25', '94', 'Front Left', 'TY-6419', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:56', NULL, NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('37', '25', '95', 'Front Left', 'TY-5853', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:56', NULL, NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('38', '25', '96', 'Front Left', 'TY-9539', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:57', NULL, NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('39', '25', '97', 'Front Left', 'TY-7593', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:57', NULL, NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('40', '25', '98', 'Front Left', 'TY-4334', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:57', NULL, NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('41', '26', '99', 'Front Left', 'TY-3817', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:57', NULL, NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('42', '26', '100', 'Front Left', 'TY-0902', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:57', NULL, NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('43', '26', '101', 'Front Left', 'TY-0416', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:57', NULL, NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('44', '26', '102', 'Front Left', 'TY-3376', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:57', NULL, NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('45', '26', '103', 'Front Left', 'TY-6327', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:57', NULL, NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('46', '26', '104', 'Front Left', 'TY-1436', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:57', NULL, NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('47', '26', '105', 'Front Left', 'TY-5581', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:57', NULL, NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('48', '26', '106', 'Front Left', 'TY-3325', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:57', NULL, NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('49', '27', '107', 'Front Left', 'TY-5755', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:58', NULL, NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('50', '27', '108', 'Front Left', 'TY-3692', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:58', NULL, NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('51', '27', '109', 'Front Left', 'TY-5790', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:58', NULL, NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('52', '27', '110', 'Front Left', 'TY-0037', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:58', NULL, NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('53', '27', '111', 'Front Left', 'TY-7864', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:58', NULL, NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('54', '27', '112', 'Front Left', 'TY-7066', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:58', NULL, NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('55', '27', '113', 'Front Left', 'TY-4574', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:58', NULL, NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('56', '27', '114', 'Front Left', 'TY-8483', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:58', NULL, NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('57', '28', '115', 'Front Left', 'TY-8647', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:59', NULL, NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('58', '28', '116', 'Front Left', 'TY-0116', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:59', NULL, NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('59', '28', '117', 'Front Left', 'TY-9014', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:59', NULL, NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('60', '28', '118', 'Front Left', 'TY-3382', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:59', NULL, NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('61', '28', '119', 'Front Left', 'TY-0117', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:59', NULL, NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('62', '28', '120', 'Front Left', 'TY-9124', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:59', NULL, NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('63', '28', '121', 'Front Left', 'TY-2702', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:59', NULL, NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('64', '28', '122', 'Front Left', 'TY-7655', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:59', NULL, NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('65', '29', '123', 'Front Left', 'TY-0197', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:59', NULL, NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('66', '29', '124', 'Front Left', 'TY-6559', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:59', NULL, NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('67', '29', '125', 'Front Left', 'TY-8915', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:59', NULL, NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('68', '29', '126', 'Front Left', 'TY-7790', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:59', NULL, NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('69', '29', '127', 'Front Left', 'TY-9595', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:10:59', NULL, NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('70', '29', '128', 'Front Left', 'TY-8745', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:11:00', NULL, NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('71', '29', '129', 'Front Left', 'TY-9416', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:11:00', NULL, NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('72', '29', '130', 'Front Left', 'TY-7583', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:11:00', NULL, NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('73', '30', '131', 'Front Left', 'TY-8316', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:11:00', NULL, NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('74', '30', '132', 'Front Left', 'TY-2777', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:11:00', NULL, NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('75', '30', '133', 'Front Left', 'TY-0375', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:11:00', NULL, NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('76', '30', '134', 'Front Left', 'TY-7347', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:11:00', NULL, NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('77', '30', '135', 'Front Left', 'TY-5375', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:11:00', NULL, NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('78', '30', '136', 'Front Left', 'TY-6027', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:11:00', NULL, NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('79', '30', '137', 'Front Left', 'TY-4992', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:11:00', NULL, NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('80', '30', '138', 'Front Left', 'TY-4115', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-11 14:11:00', NULL, NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('81', '31', '156', 'Front Left', 'TY-8132', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-13 20:15:03', NULL, NULL, NULL, '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('82', '31', '162', 'Front Left', 'TY-8999', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-13 20:15:03', NULL, NULL, NULL, '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('83', '31', '148', 'Front Left', 'TY-6589', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-13 20:15:03', NULL, NULL, NULL, '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('84', '31', '149', 'Front Left', 'TY-6079', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-13 20:15:03', NULL, NULL, NULL, '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('85', '31', '157', 'Front Left', 'TY-3177', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-13 20:15:03', NULL, NULL, NULL, '2026-01-13 20:15:03', '2026-01-13 20:15:03');
INSERT INTO "tyres" ("id", "tenant_id", "asset_id", "position", "serial_number", "brand", "model", "tread_depth", "status", "installed_at", "removed_at", "failure_reason", "notes", "created_at", "updated_at") VALUES ('86', '31', '151', 'Front Left', 'TY-4627', 'Bridgestone', 'MX-65', '22.5', 'active', '2025-09-13 20:15:03', NULL, NULL, NULL, '2026-01-13 20:15:03', '2026-01-13 20:15:03');

-- Table: users
CREATE TABLE "users" ("id" integer not null primary key autoincrement, "name" varchar not null, "email" varchar not null, "email_verified_at" datetime, "password" varchar not null, "remember_token" varchar, "created_at" datetime, "updated_at" datetime, "tenant_id" integer, "site_id" integer, "phone" varchar, "whatsapp_number" varchar, "telegram_handle" varchar);

INSERT INTO "users" ("id", "name", "email", "email_verified_at", "password", "remember_token", "created_at", "updated_at", "tenant_id", "site_id", "phone", "whatsapp_number", "telegram_handle") VALUES ('1', 'System Admin', 'admin@tams.com', NULL, '$2y$10$4GoPBnRkQzxDyDnFyYjlnubSFezZWOZUE2R2xliNxtDFvnzOcyJR.', NULL, '2026-01-19 20:30:21', '2026-01-19 20:30:21', '31', NULL, NULL, NULL, NULL);
INSERT INTO "users" ("id", "name", "email", "email_verified_at", "password", "remember_token", "created_at", "updated_at", "tenant_id", "site_id", "phone", "whatsapp_number", "telegram_handle") VALUES ('2', 'Tendai Moyo', 'md@fourways.example', NULL, '$2y$10$diveeBd4ue4wlJHYqf1DB.OgWLkCuN2JC/IqqnZrEQonGagXajzpO', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20', '31', NULL, NULL, NULL, NULL);
INSERT INTO "users" ("id", "name", "email", "email_verified_at", "password", "remember_token", "created_at", "updated_at", "tenant_id", "site_id", "phone", "whatsapp_number", "telegram_handle") VALUES ('3', 'Faith Ncube', 'engineering.manager@fourways.example', NULL, '$2y$10$diveeBd4ue4wlJHYqf1DB.OgWLkCuN2JC/IqqnZrEQonGagXajzpO', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20', '31', '34', NULL, NULL, NULL);
INSERT INTO "users" ("id", "name", "email", "email_verified_at", "password", "remember_token", "created_at", "updated_at", "tenant_id", "site_id", "phone", "whatsapp_number", "telegram_handle") VALUES ('4', 'Leon Chikowore', 'engineer@fourways.example', NULL, '$2y$10$diveeBd4ue4wlJHYqf1DB.OgWLkCuN2JC/IqqnZrEQonGagXajzpO', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20', '31', '34', NULL, NULL, NULL);
INSERT INTO "users" ("id", "name", "email", "email_verified_at", "password", "remember_token", "created_at", "updated_at", "tenant_id", "site_id", "phone", "whatsapp_number", "telegram_handle") VALUES ('5', 'Sibusiso Dube', 'foreman@fourways.example', NULL, '$2y$10$diveeBd4ue4wlJHYqf1DB.OgWLkCuN2JC/IqqnZrEQonGagXajzpO', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20', '31', '34', NULL, NULL, NULL);
INSERT INTO "users" ("id", "name", "email", "email_verified_at", "password", "remember_token", "created_at", "updated_at", "tenant_id", "site_id", "phone", "whatsapp_number", "telegram_handle") VALUES ('6', 'Nomsa Zulu', 'artisan@fourways.example', NULL, '$2y$10$diveeBd4ue4wlJHYqf1DB.OgWLkCuN2JC/IqqnZrEQonGagXajzpO', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20', '31', '34', NULL, NULL, NULL);
INSERT INTO "users" ("id", "name", "email", "email_verified_at", "password", "remember_token", "created_at", "updated_at", "tenant_id", "site_id", "phone", "whatsapp_number", "telegram_handle") VALUES ('7', 'Tariro Banda', 'planner@fourways.example', NULL, '$2y$10$diveeBd4ue4wlJHYqf1DB.OgWLkCuN2JC/IqqnZrEQonGagXajzpO', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20', '31', '34', NULL, NULL, NULL);
INSERT INTO "users" ("id", "name", "email", "email_verified_at", "password", "remember_token", "created_at", "updated_at", "tenant_id", "site_id", "phone", "whatsapp_number", "telegram_handle") VALUES ('8', 'Kevin Mhlanga', 'accountant@fourways.example', NULL, '$2y$10$diveeBd4ue4wlJHYqf1DB.OgWLkCuN2JC/IqqnZrEQonGagXajzpO', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20', '31', NULL, NULL, NULL, NULL);
INSERT INTO "users" ("id", "name", "email", "email_verified_at", "password", "remember_token", "created_at", "updated_at", "tenant_id", "site_id", "phone", "whatsapp_number", "telegram_handle") VALUES ('9', 'Joyce Mutasa', 'operator@fourways.example', NULL, '$2y$10$diveeBd4ue4wlJHYqf1DB.OgWLkCuN2JC/IqqnZrEQonGagXajzpO', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20', '31', '34', NULL, NULL, NULL);
INSERT INTO "users" ("id", "name", "email", "email_verified_at", "password", "remember_token", "created_at", "updated_at", "tenant_id", "site_id", "phone", "whatsapp_number", "telegram_handle") VALUES ('10', 'Alfred Chirwa', 'finance.manager@fourways.example', NULL, '$2y$10$diveeBd4ue4wlJHYqf1DB.OgWLkCuN2JC/IqqnZrEQonGagXajzpO', NULL, '2026-01-25 16:22:20', '2026-01-25 16:22:20', '31', NULL, NULL, NULL, NULL);

-- Table: vehicles
CREATE TABLE "vehicles" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "name" varchar not null, "type" varchar, "license_plate" varchar not null, "status" varchar, "telemetry_data" text, "maintenance_schedule" text, "created_at" datetime, "updated_at" datetime, "asset_id" integer, "site_id" integer, "odometer" numeric, "engine_hours" numeric, foreign key("tenant_id") references "tenants"("id") on delete cascade);

INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('1', '1', 'voluptatem est', 'excavator', 'FA537XD', 'inactive', NULL, NULL, '2026-01-11 11:45:20', '2026-01-11 11:45:20', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('2', '1', 'earum veritatis', 'truck', 'AN400LZ', 'inactive', NULL, NULL, '2026-01-11 11:45:20', '2026-01-11 11:45:20', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('3', '1', 'incidunt delectus', 'truck', 'JY899RK', 'inactive', NULL, NULL, '2026-01-11 11:45:20', '2026-01-11 11:45:20', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('4', '2', 'atque facilis', 'truck', 'FJ902NG', 'active', NULL, NULL, '2026-01-11 11:45:20', '2026-01-11 11:45:20', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('5', '2', 'non aut', 'truck', 'EU806TX', 'active', NULL, NULL, '2026-01-11 11:45:20', '2026-01-11 11:45:20', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('6', '2', 'quam aut', 'loader', 'VP609SS', 'active', NULL, NULL, '2026-01-11 11:45:20', '2026-01-11 11:45:20', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('7', '3', 'consequuntur in', 'excavator', 'RZ076CP', 'active', NULL, NULL, '2026-01-11 11:45:21', '2026-01-11 11:45:21', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('8', '3', 'fuga fuga', 'loader', 'MR672GP', 'active', NULL, NULL, '2026-01-11 11:45:21', '2026-01-11 11:45:21', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('9', '3', 'quis alias', 'truck', 'GN387SO', 'inactive', NULL, NULL, '2026-01-11 11:45:21', '2026-01-11 11:45:21', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('10', '4', 'dolores qui', 'truck', 'LS631BS', 'inactive', NULL, NULL, '2026-01-11 11:45:21', '2026-01-11 11:45:21', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('11', '4', 'rem excepturi', 'truck', 'YI346IS', 'inactive', NULL, NULL, '2026-01-11 11:45:21', '2026-01-11 11:45:21', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('12', '4', 'assumenda quia', 'loader', 'XF685SD', 'inactive', NULL, NULL, '2026-01-11 11:45:21', '2026-01-11 11:45:21', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('13', '5', 'incidunt provident', 'loader', 'US665MT', 'inactive', NULL, NULL, '2026-01-11 11:45:21', '2026-01-11 11:45:21', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('14', '5', 'corporis sunt', 'excavator', 'TH856QT', 'inactive', NULL, NULL, '2026-01-11 11:45:21', '2026-01-11 11:45:21', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('15', '5', 'ab voluptates', 'excavator', 'FS692MS', 'active', NULL, NULL, '2026-01-11 11:45:21', '2026-01-11 11:45:21', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('16', '6', 'quas asperiores', 'truck', 'ML592CS', 'inactive', NULL, NULL, '2026-01-11 11:45:21', '2026-01-11 11:45:21', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('17', '6', 'quia assumenda', 'excavator', 'HD551IH', 'inactive', NULL, NULL, '2026-01-11 11:45:21', '2026-01-11 11:45:21', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('18', '6', 'nihil iste', 'excavator', 'GG144PF', 'active', NULL, NULL, '2026-01-11 11:45:21', '2026-01-11 11:45:21', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('19', '7', 'magnam qui', 'loader', 'JS111IK', 'active', NULL, NULL, '2026-01-11 11:45:21', '2026-01-11 11:45:21', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('20', '7', 'sit accusantium', 'excavator', 'DO560XU', 'active', NULL, NULL, '2026-01-11 11:45:21', '2026-01-11 11:45:21', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('21', '7', 'nesciunt quia', 'loader', 'RY598WT', 'inactive', NULL, NULL, '2026-01-11 11:45:21', '2026-01-11 11:45:21', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('22', '8', 'ut distinctio', 'excavator', 'PZ192HH', 'inactive', NULL, NULL, '2026-01-11 11:45:22', '2026-01-11 11:45:22', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('23', '8', 'accusamus aut', 'loader', 'VJ803IZ', 'active', NULL, NULL, '2026-01-11 11:45:22', '2026-01-11 11:45:22', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('24', '8', 'temporibus nisi', 'excavator', 'II007KF', 'active', NULL, NULL, '2026-01-11 11:45:22', '2026-01-11 11:45:22', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('25', '9', 'saepe a', 'loader', 'WG463HS', 'active', NULL, NULL, '2026-01-11 11:45:22', '2026-01-11 11:45:22', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('26', '9', 'ut inventore', 'excavator', 'MP536DX', 'active', NULL, NULL, '2026-01-11 11:45:22', '2026-01-11 11:45:22', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('27', '9', 'id quae', 'loader', 'HX935GT', 'inactive', NULL, NULL, '2026-01-11 11:45:22', '2026-01-11 11:45:22', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('28', '10', 'dolores hic', 'loader', 'KE671VK', 'active', NULL, NULL, '2026-01-11 11:45:22', '2026-01-11 11:45:22', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('29', '10', 'rem repudiandae', 'truck', 'RI504EB', 'inactive', NULL, NULL, '2026-01-11 11:45:22', '2026-01-11 11:45:22', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('30', '10', 'dolore dignissimos', 'loader', 'IW053WW', 'inactive', NULL, NULL, '2026-01-11 11:45:22', '2026-01-11 11:45:22', NULL, NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('31', '11', 'nesciunt vero', 'truck', 'IG754QL', 'inactive', NULL, NULL, '2026-01-11 14:10:04', '2026-01-11 14:10:04', '51', '1', '26873.88', '3530.16');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('32', '11', 'ab delectus', 'loader', 'XB052PL', 'inactive', NULL, NULL, '2026-01-11 14:10:04', '2026-01-11 14:10:04', '51', '1', '27746.83', '7117.84');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('33', '11', 'rerum et', 'loader', 'UO475VJ', 'active', NULL, NULL, '2026-01-11 14:10:04', '2026-01-11 14:10:04', '51', '1', '11697.24', '455.21');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('34', '11', 'excepturi voluptas', 'loader', 'RL126TC', 'active', NULL, NULL, '2026-01-11 14:10:04', '2026-01-11 14:10:04', '51', '1', '51390.2', '2768.88');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('35', '21', 'repudiandae maiores', 'excavator', 'UE447TD', 'inactive', NULL, NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53', '63', '4', '69030.75', '1198.28');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('36', '21', 'rerum placeat', 'truck', 'SY875HB', 'inactive', NULL, NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53', '63', '4', '50601.35', '3660.26');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('37', '21', 'sunt voluptates', 'excavator', 'YW758EZ', 'active', NULL, NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53', '63', '4', '53325.25', '4488.57');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('38', '21', 'est qui', 'excavator', 'PX069VO', 'inactive', NULL, NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53', '63', '4', '38360.95', '2022.11');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('39', '22', 'cupiditate incidunt', 'loader', 'QP241KA', 'active', NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54', '67', '7', '49210.13', '7647.88');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('40', '22', 'iusto repellendus', 'excavator', 'NV589EI', 'active', NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54', '67', '7', '12288.05', '4512.85');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('41', '22', 'eos voluptates', 'truck', 'OH067SN', 'inactive', NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54', '67', '7', '69288.77', '5462.17');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('42', '22', 'omnis inventore', 'truck', 'LA480GO', 'active', NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54', '67', '7', '46957.82', '7535.56');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('43', '23', 'id dignissimos', 'truck', 'GL785FP', 'inactive', NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55', '75', '10', '20537.05', '455.38');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('44', '23', 'sapiente dignissimos', 'excavator', 'JZ348WA', 'inactive', NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55', '75', '10', '75897.78', '5368.29');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('45', '23', 'voluptas eaque', 'loader', 'MJ655MS', 'inactive', NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55', '75', '10', '72376.23', '7758.09');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('46', '23', 'a consectetur', 'truck', 'BX391LF', 'active', NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55', '75', '10', '67768.59', '176.72');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('47', '24', 'quo omnis', 'truck', 'WS548KM', 'active', NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55', '86', '13', '34648.94', '237.5');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('48', '24', 'et voluptates', 'truck', 'AR231KT', 'inactive', NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55', '86', '13', '47487.52', '928.18');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('49', '24', 'eos aut', 'truck', 'BR012ZO', 'active', NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55', '86', '13', '72541.99', '4391.54');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('50', '24', 'qui facilis', 'truck', 'FO241AZ', 'inactive', NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55', '86', '13', '37780.43', '3568.4');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('51', '25', 'voluptatem modi', 'excavator', 'BW998SX', 'active', NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56', '98', '17', '19682.45', '2136.76');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('52', '25', 'in ut', 'loader', 'OG983DK', 'active', NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56', '98', '17', '63141.98', '7957.19');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('53', '25', 'voluptatem non', 'truck', 'CO279GW', 'inactive', NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56', '98', '17', '20141.15', '6324.04');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('54', '25', 'consequatur molestiae', 'excavator', 'HR250LX', 'inactive', NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56', '98', '17', '42729.87', '7723.11');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('55', '26', 'totam aut', 'truck', 'CF322PO', 'active', NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57', '104', '21', '80299.29', '5737.98');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('56', '26', 'sequi est', 'excavator', 'XX275ZG', 'active', NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57', '104', '21', '10113.27', '1700.08');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('57', '26', 'blanditiis doloremque', 'truck', 'AZ911WP', 'active', NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57', '104', '21', '62327.35', '461.44');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('58', '26', 'maiores fugit', 'excavator', 'YI313JH', 'inactive', NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57', '104', '21', '69302.82', '5986.06');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('59', '27', 'asperiores veniam', 'truck', 'LC077YX', 'active', NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58', '113', '22', '34922.78', '3765.54');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('60', '27', 'sed rerum', 'truck', 'BR244MT', 'active', NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58', '113', '22', '84347.69', '5682.26');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('61', '27', 'asperiores aut', 'excavator', 'DS605PV', 'active', NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58', '113', '22', '7951.17', '7916.14');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('62', '27', 'voluptatibus perferendis', 'excavator', 'CO123HG', 'inactive', NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58', '113', '22', '81865.92', '2553.73');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('63', '28', 'illum quaerat', 'truck', 'QI870OM', 'active', NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58', '121', '26', '53374.5', '6136.62');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('64', '28', 'harum quia', 'excavator', 'LN376OV', 'active', NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58', '121', '26', '62678.01', '5339.4');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('65', '28', 'labore ex', 'truck', 'HZ256JP', 'inactive', NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58', '121', '26', '69924.67', '5762.53');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('66', '28', 'ex dolorem', 'truck', 'DJ196ZJ', 'active', NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58', '121', '26', '25810.11', '3399.35');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('67', '29', 'suscipit ea', 'excavator', 'QW525CB', 'inactive', NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59', '128', '29', '48665.18', '979.35');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('68', '29', 'sed aperiam', 'excavator', 'YT852QC', 'active', NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59', '128', '29', '31473.2', '926.88');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('69', '29', 'perferendis inventore', 'excavator', 'AN550RV', 'active', NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59', '128', '29', '78798.85', '7401.32');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('70', '29', 'ab maxime', 'excavator', 'VZ470OZ', 'active', NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59', '128', '29', '23544.34', '3055.37');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('71', '30', 'cum quisquam', 'truck', 'KI294QU', 'inactive', NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00', '133', '32', '51487.75', '4254');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('72', '30', 'ea ut', 'loader', 'XB601LR', 'active', NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00', '133', '32', '55660.87', '2529.34');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('73', '30', 'culpa molestias', 'loader', 'FQ228YV', 'inactive', NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00', '133', '32', '31515.52', '5215.32');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('74', '30', 'quisquam quo', 'excavator', 'XI818TF', 'active', NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00', '133', '32', '84484.42', '5712.91');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('75', '31', 'Hauler H-32', 'Truck', 'H321', 'active', '{"fuel_rate":57,"idle_hours":3}', '{"next_service_hours":78}', '2026-01-13 20:11:12', '2026-01-13 20:15:00', '146', '34', '63108', '1461');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('76', '31', 'Hauler H-44', 'Truck', 'H441', 'active', '{"fuel_rate":44,"idle_hours":6}', '{"next_service_hours":145}', '2026-01-13 20:11:12', '2026-01-13 20:15:01', '145', '34', '123409', '2174');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('77', '31', 'Mixer Truck MT-04', 'Truck', 'MT041', 'active', '{"fuel_rate":48,"idle_hours":3}', '{"next_service_hours":60}', '2026-01-13 20:11:12', '2026-01-13 20:15:01', '158', '36', '64888', '3736');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('78', '31', 'Mixer Truck MT-09', 'Truck', 'MT091', 'active', '{"fuel_rate":50,"idle_hours":5}', '{"next_service_hours":139}', '2026-01-13 20:11:12', '2026-01-13 20:15:01', '159', '36', '115647', '5160');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('79', '31', 'Service Truck ST-06', 'Support Truck', 'ST061', 'active', '{"fuel_rate":50,"idle_hours":2}', '{"next_service_hours":102}', '2026-01-13 20:11:12', '2026-01-13 20:15:01', '164', '37', '71240', '3408');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('80', '31', 'Tipper TP-12', 'Truck', 'TP121', 'active', '{"fuel_rate":36,"idle_hours":2}', '{"next_service_hours":133}', '2026-01-13 20:11:12', '2026-01-13 20:15:01', '160', '36', '48300', '1906');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('81', '31', 'Tipper TP-24', 'Truck', 'TP241', 'active', '{"fuel_rate":44,"idle_hours":4}', '{"next_service_hours":151}', '2026-01-13 20:11:12', '2026-01-13 20:15:01', '161', '36', '109170', '1711');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('82', '31', 'Water Bowser WB-03', 'Support Truck', 'WB031', 'active', '{"fuel_rate":39,"idle_hours":4}', '{"next_service_hours":83}', '2026-01-13 20:11:12', '2026-01-13 20:15:01', '147', '34', '60953', '5170');
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('83', '31', 'AGJ 0885 M07 Mixer Truck', 'Mixer Truck', 'AGJ 0885', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '165', '43', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('84', '31', 'AGB 1219 M01 FAW', 'Motor Vehicles', 'AGB 1219', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '166', '43', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('85', '31', 'AFQ 8368 M02 FAW', 'Mixer Truck', 'AFQ 8368', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '167', '43', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('86', '31', 'AFJ0355 M09 FUSO Mixer Truck (AFX 9668 Ford Ranger Wildtrack)', 'Motor Vehicles', 'AFJ 0355', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '168', '43', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('87', '31', 'AFQ 5127 M15 Faw', 'Mixer Truck', 'AFQ 5127', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '169', '43', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('88', '31', 'AFQ 5126 M16 Faw', 'Mixer Truck', 'AFQ 5126', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '170', '43', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('89', '31', 'AFQ 5100 M14 Faw', 'Mixer Truck', 'AFQ 5100', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '171', '43', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('90', '31', 'AFQ 2272 M13 Powerstar', 'Motor Vehicles', 'AFQ 2272', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '172', '43', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('91', '31', 'AFJ9910 M08 Powerstar', 'Motor Vehicles', 'AFJ 9910', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '173', '43', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('92', '31', 'AEX0917 Nissan NP300', 'Motor Vehicles', 'AEX 0917', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '174', '43', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('93', '31', 'AFJ 5645 M11 Howo', 'Mixer Truck', 'AFJ 5645', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '175', '43', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('94', '31', 'AFT1988 Hino Dutro', 'Motor Vehicles', 'AFT 1988', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '178', '44', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('95', '31', 'AFJ0991 Man Tiper', 'Tipper - Horse', 'AFJ 0991', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '179', '45', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('96', '31', 'AEZ5851 Howo Tiper', 'Tipper', 'AEZ 5851', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '180', '45', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('97', '31', 'AGA 8820 Faw Dropside 8.140FL Dropside Truck', 'Truck - D/SIDE WORKSHOP', 'AGA 8820', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '183', '45', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('98', '31', 'AFQ 8084 Faw Dropside Truck 8 Series', 'Truck - D/SIDE QUARRY', 'AFQ 8084', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '184', '45', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('99', '31', 'AER 9165 ACE110 Honda Motor Bike', 'Motor Bike', 'AER 9165', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '185', '45', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('100', '31', 'AAY 5565 Concrete Static Pump', 'Concrete Trailer Pump Static', 'AAY 5565', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '186', '43', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('101', '31', 'AFQ 9824 Static Pump', 'Motor Vehicles', 'AFQ 9824', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '187', '43', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('102', '31', 'Ford Ranger -AGE2431', 'Motor Vehicles', 'AGE 2431', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '190', '48', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('103', '31', 'AGA 3744 Toyota Fortuner', 'Toyota Fortuner SUV', 'AGA 3744', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '191', '47', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('104', '31', 'AGD 0019 Toyota Aqua', 'Toyota Aqua', 'AGD 0019', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '192', '47', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('105', '31', 'AFX 6240 Toyota Hilux Revo S/Cab', 'S/cab Revo', 'AFX 6240', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '193', '49', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('106', '31', 'AEC 5171 S/Cab Ford Ranger', 'Ford Ranger XLT S/CAB', 'AEC 5171', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '194', '49', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('107', '31', 'AFN 6077 Ford Ranger', 'Ford Ranger Wildtrack 02', 'AFN 6077', 'active', NULL, NULL, '2026-01-14 11:53:26', '2026-01-25 13:50:16', '195', '49', NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('108', '31', 'AGL 4764 Mixer Truck', 'Mixer Truck', 'AGL 4764', 'active', NULL, NULL, '2026-01-14 11:53:27', '2026-01-25 13:50:17', '279', NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('109', '31', 'AGL 2048 Mixer Truck', 'Mixer Truck', 'AGL 2048', 'active', NULL, NULL, '2026-01-14 11:53:27', '2026-01-25 13:50:17', '280', NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('110', '31', 'AGL 2049 Mixer Truck', 'Mixer Truck', 'AGL 2049', 'active', NULL, NULL, '2026-01-14 11:53:27', '2026-01-25 13:50:17', '281', NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('111', '31', 'AHA 1464 Mixer Truck', 'Mixer Truck', 'AHA 1464', 'active', NULL, NULL, '2026-01-14 11:53:27', '2026-01-25 13:50:17', '282', NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('112', '31', 'AFJ 0792 Tipper - Trailer', 'Tipper - Trailer', 'AFJ 0792', 'active', NULL, NULL, '2026-01-14 11:53:27', '2026-01-25 13:50:17', '283', NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('113', '31', 'AGZ 7264 Shacman Tipper', 'Shacman Tipper', 'AGZ 7264', 'active', NULL, NULL, '2026-01-14 11:53:27', '2026-01-25 13:50:17', '284', NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('114', '31', 'AFG 8566 Benz GL350 D (1)', 'Benz GL350 D (1)', 'AFG 8566', 'active', NULL, NULL, '2026-01-14 11:53:27', '2026-01-25 13:50:17', '285', NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('115', '31', 'AFU 8231 Benz GL350 D (2)', 'Benz GL350 D (2)', 'AFU 8231', 'active', NULL, NULL, '2026-01-14 11:53:27', '2026-01-25 13:50:17', '286', NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('116', '31', 'AFF 8007 Jeep Wrangler', 'Jeep Wrangler', 'AFF 8007', 'active', NULL, NULL, '2026-01-14 11:53:27', '2026-01-25 13:50:17', '287', NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('117', '31', 'AGA 5454 Nissan NP300 WORKSHOP', 'Nissan NP300 WORKSHOP', 'AGA 5454', 'active', NULL, NULL, '2026-01-14 11:53:27', '2026-01-25 13:50:17', '288', NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('118', '31', 'AGE 2432 Ford Ranger Twin Cab', 'Ford Ranger Twin Cab', 'AGE 2432', 'active', NULL, NULL, '2026-01-14 11:53:27', '2026-01-25 13:50:17', '289', NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('119', '31', 'AGP 6784 Toyota Hilux  S/CAB', 'Toyota Hilux  S/CAB', 'AGP 6784', 'active', NULL, NULL, '2026-01-14 11:53:27', '2026-01-25 13:50:17', '290', NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('120', '31', 'AGO 3521 Honda Vezel', 'Honda Vezel', 'AGO 3521', 'active', NULL, NULL, '2026-01-14 11:53:27', '2026-01-25 13:50:17', '291', NULL, NULL, NULL);
INSERT INTO "vehicles" ("id", "tenant_id", "name", "type", "license_plate", "status", "telemetry_data", "maintenance_schedule", "created_at", "updated_at", "asset_id", "site_id", "odometer", "engine_hours") VALUES ('121', '31', 'AGP 6794 Toyota Hilux GD6', 'Toyota Hilux GD6', 'AGP 6794', 'active', NULL, NULL, '2026-01-14 11:53:27', '2026-01-25 13:50:17', '292', NULL, NULL, NULL);

-- Table: vendor_quotes
CREATE TABLE "vendor_quotes" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "vendor_id" integer not null, "part_id" integer not null, "price" numeric, "currency" varchar not null default 'USD', "lead_time_days" integer, "valid_until" date, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("vendor_id") references "vendors"("id") on delete cascade, foreign key("part_id") references "parts"("id") on delete cascade);


-- Table: vendors
CREATE TABLE "vendors" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "name" varchar not null, "contact_name" varchar, "phone" varchar, "email" varchar, "lead_time_days" integer, "notes" text, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade);

INSERT INTO "vendors" ("id", "tenant_id", "name", "contact_name", "phone", "email", "lead_time_days", "notes", "created_at", "updated_at") VALUES ('1', '11', 'Summit Industrial Supplies', 'Pat Rivera', '+1 555 010 433', 'sales@summit.example', '5', NULL, '2026-01-11 14:10:04', '2026-01-11 14:10:04');
INSERT INTO "vendors" ("id", "tenant_id", "name", "contact_name", "phone", "email", "lead_time_days", "notes", "created_at", "updated_at") VALUES ('2', '21', 'Summit Industrial Supplies', 'Pat Rivera', '+1 555 010 433', 'sales@summit.example', '5', NULL, '2026-01-11 14:10:53', '2026-01-11 14:10:53');
INSERT INTO "vendors" ("id", "tenant_id", "name", "contact_name", "phone", "email", "lead_time_days", "notes", "created_at", "updated_at") VALUES ('3', '22', 'Summit Industrial Supplies', 'Pat Rivera', '+1 555 010 433', 'sales@summit.example', '5', NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54');
INSERT INTO "vendors" ("id", "tenant_id", "name", "contact_name", "phone", "email", "lead_time_days", "notes", "created_at", "updated_at") VALUES ('4', '23', 'Summit Industrial Supplies', 'Pat Rivera', '+1 555 010 433', 'sales@summit.example', '5', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "vendors" ("id", "tenant_id", "name", "contact_name", "phone", "email", "lead_time_days", "notes", "created_at", "updated_at") VALUES ('5', '24', 'Summit Industrial Supplies', 'Pat Rivera', '+1 555 010 433', 'sales@summit.example', '5', NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55');
INSERT INTO "vendors" ("id", "tenant_id", "name", "contact_name", "phone", "email", "lead_time_days", "notes", "created_at", "updated_at") VALUES ('6', '25', 'Summit Industrial Supplies', 'Pat Rivera', '+1 555 010 433', 'sales@summit.example', '5', NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56');
INSERT INTO "vendors" ("id", "tenant_id", "name", "contact_name", "phone", "email", "lead_time_days", "notes", "created_at", "updated_at") VALUES ('7', '26', 'Summit Industrial Supplies', 'Pat Rivera', '+1 555 010 433', 'sales@summit.example', '5', NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57');
INSERT INTO "vendors" ("id", "tenant_id", "name", "contact_name", "phone", "email", "lead_time_days", "notes", "created_at", "updated_at") VALUES ('8', '27', 'Summit Industrial Supplies', 'Pat Rivera', '+1 555 010 433', 'sales@summit.example', '5', NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58');
INSERT INTO "vendors" ("id", "tenant_id", "name", "contact_name", "phone", "email", "lead_time_days", "notes", "created_at", "updated_at") VALUES ('9', '28', 'Summit Industrial Supplies', 'Pat Rivera', '+1 555 010 433', 'sales@summit.example', '5', NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "vendors" ("id", "tenant_id", "name", "contact_name", "phone", "email", "lead_time_days", "notes", "created_at", "updated_at") VALUES ('10', '29', 'Summit Industrial Supplies', 'Pat Rivera', '+1 555 010 433', 'sales@summit.example', '5', NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59');
INSERT INTO "vendors" ("id", "tenant_id", "name", "contact_name", "phone", "email", "lead_time_days", "notes", "created_at", "updated_at") VALUES ('11', '30', 'Summit Industrial Supplies', 'Pat Rivera', '+1 555 010 433', 'sales@summit.example', '5', NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00');
INSERT INTO "vendors" ("id", "tenant_id", "name", "contact_name", "phone", "email", "lead_time_days", "notes", "created_at", "updated_at") VALUES ('12', '31', 'Summit Industrial Supplies', 'Pat Rivera', '+1 555 010 433', 'sales@summit.example', '5', NULL, '2026-01-13 20:11:11', '2026-01-13 20:11:11');

-- Table: weekly_report_sections
CREATE TABLE "weekly_report_sections" ("id" integer not null primary key autoincrement, "weekly_report_id" integer not null, "section_code" varchar not null, "title" varchar not null, "content_json" text, "created_at" datetime, "updated_at" datetime);

INSERT INTO "weekly_report_sections" ("id", "weekly_report_id", "section_code", "title", "content_json", "created_at", "updated_at") VALUES ('22', '1', 'maintenance_compliance', 'Maintenance Compliance', '{"key":"maintenance_compliance","title":"Maintenance Compliance","purpose":"Identify assets overdue for service and rank risk based on meters and schedule dates.","severity":"warn","metrics":{"overdue_count":0},"findings":[],"recommended_actions":[],"summary":"AI Agent: Maintenance Compliance\nOverdue assets:\n- ME-EXC-03 - Excavator 03 | 4d overdue | Risk: Medium\n- CP-CONV-02 - Conveyor 02 | 220h overdue | Risk: Medium\n- DT-TIP-05 - Tipper 05 | 15d overdue | Risk: High","no_data":false,"data_confidence":[]}', '2026-01-25 16:01:35', '2026-01-25 16:01:35');
INSERT INTO "weekly_report_sections" ("id", "weekly_report_id", "section_code", "title", "content_json", "created_at", "updated_at") VALUES ('23', '1', 'failure_prediction', 'Failure Prediction', '{"key":"failure_prediction","title":"Failure Prediction","purpose":"Detect abnormal downtime, fuel variance, and spares spend to flag failure risks.","severity":"alarm","metrics":[],"findings":[],"recommended_actions":[],"summary":"AI Agent: Failure Prediction\nSignals:\n- CP-JAW-02 - Jaw Crusher 02 | downtime 12.4h (30d)\n- ME-LDR-02 - Loader 02 | spares spend $7,980\n- BP-GEN-01 - Generator 01 | fuel variance 24\nRecommendations:\n- Inspect crusher bearings within 48h.\n- Review loader hydraulic leaks.\n- Check generator fuel sensor calibration.","no_data":false,"data_confidence":[]}', '2026-01-25 16:01:35', '2026-01-25 16:01:35');
INSERT INTO "weekly_report_sections" ("id", "weekly_report_id", "section_code", "title", "content_json", "created_at", "updated_at") VALUES ('24', '1', 'kpi_analyst', 'Weekly KPI Report', '{"key":"kpi_analyst","title":"Weekly KPI Report","purpose":"Summarize headline performance KPIs for the week and highlight risks and wins.","severity":"warn","metrics":{"availability":null,"utilization":null,"mtbf":null,"fuel_efficiency":null,"downtime_hours":null},"findings":[],"recommended_actions":[],"summary":"AI Agent: KPI Analyst\n- Availability: 82.6%\n- Utilization: 58.3%\n- MTBF: 31h\n- Fuel efficiency: 19.1 L\/hr\nRisks: Downtime 6.8h this week.\nWins: PM completion improved by 9%.","no_data":false,"data_confidence":[]}', '2026-01-25 16:01:35', '2026-01-25 16:01:35');
INSERT INTO "weekly_report_sections" ("id", "weekly_report_id", "section_code", "title", "content_json", "created_at", "updated_at") VALUES ('25', '1', 'cost_control', 'Cost Control Alert', '{"key":"cost_control","title":"Cost Control Alert","purpose":"Monitor maintenance and fuel cost spikes against historical averages.","severity":"alarm","metrics":[],"findings":[],"recommended_actions":[],"summary":"AI Agent: Cost Control\n- Maintenance costs spiked to $18,250 (avg $9,600)\n- Fuel costs spiked to $7,890 (avg $4,700)\nRecommendation: Validate invoices and review high-cost work orders.","no_data":false,"data_confidence":[]}', '2026-01-25 16:01:35', '2026-01-25 16:01:35');
INSERT INTO "weekly_report_sections" ("id", "weekly_report_id", "section_code", "title", "content_json", "created_at", "updated_at") VALUES ('26', '1', 'ops_notifier', 'Ops Notifier', '{"key":"ops_notifier","title":"Ops Notifier","purpose":"Escalate critical operational risks and compliance\/licensing expiries.","severity":"alarm","metrics":[],"findings":[],"recommended_actions":[],"summary":"AI Agent: Ops Notifier\nCritical findings:\n- DT-TIP-05 - Tipper 05 | Service overdue 15d\n- CP-JAW-02 - Jaw Crusher 02 | Failure risk high\n- BP-GEN-01 - Generator 01 | Fuel variance alert","no_data":false,"data_confidence":[]}', '2026-01-25 16:01:35', '2026-01-25 16:01:35');
INSERT INTO "weekly_report_sections" ("id", "weekly_report_id", "section_code", "title", "content_json", "created_at", "updated_at") VALUES ('27', '1', 'finance_oversight', 'Finance Oversight Digest', '{"key":"finance_oversight","title":"Finance Oversight Digest","purpose":"Monitor PR\/PO\/Invoice\/payment governance, aging, and budget exposure.","severity":"alarm","metrics":[],"findings":[],"recommended_actions":[],"summary":"AI Agent: Finance Oversight\n- PR aging: 6.4 days | PO aging: 9.8 days | Invoice aging: 18.1 days\n- Unpaid total: $42,850 | Spend vs budget: 128%\nFindings:\n- Duplicate invoice detected (INV-2213)\n- Invoice missing PO\/GRN link (INV-2291)\n- PO overdue delivery (PO-0187)\nSuggested action: HOLD_PAYMENT","no_data":false,"data_confidence":[]}', '2026-01-25 16:01:35', '2026-01-25 16:01:35');
INSERT INTO "weekly_report_sections" ("id", "weekly_report_id", "section_code", "title", "content_json", "created_at", "updated_at") VALUES ('28', '1', 'hr_artisan_performance', 'Artisan Performance Summary', '{"key":"hr_artisan_performance","title":"Artisan Performance Summary","purpose":"Assess artisan utilization, compliance, and repeat-failure indicators.","severity":"warn","metrics":[],"findings":[],"recommended_actions":[],"summary":"AI Agent: HR Artisan Performance\n- Tendai Moyo: assigned 12, completed 9, utilization 46%, compliance 62%\n- Farai Dube: assigned 8, completed 8, utilization 74%, compliance 91%\n- Memory Ncube: assigned 6, completed 3, utilization 29%, compliance 45%\nFindings:\n- Low utilization (<30%) (Memory Ncube)\n- Checklist compliance below 50% (Memory Ncube)\nSuggested action: REVIEW_SUPERVISOR","no_data":false,"data_confidence":[]}', '2026-01-25 16:01:35', '2026-01-25 16:01:35');

-- Table: weekly_reports
CREATE TABLE "weekly_reports" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "report_week" varchar not null, "period_start" datetime not null, "period_end" datetime not null, "generated_at" datetime, "pdf_path" varchar, "summary_json" text, "status" varchar not null default 'generating', "created_at" datetime, "updated_at" datetime);

INSERT INTO "weekly_reports" ("id", "tenant_id", "report_week", "period_start", "period_end", "generated_at", "pdf_path", "summary_json", "status", "created_at", "updated_at") VALUES ('1', '31', '2026-W04', '2026-01-18 00:00:00', '2026-01-25 18:01:31', '2026-01-25 16:01:35', '/reports/weekly/31\weekly_ai_agents_report_2026-W04_20260125_160131.pdf', '{"period":{"start":"2026-01-18 00:00:00","end":"2026-01-25 18:01:31","timezone":"Africa\/Harare","window_mode":"last7"},"executive_summary":{"headline_kpis":{"availability":null,"utilization":null,"mtbf":null,"fuel_efficiency":null},"top_risks":["Ops Notifier - AI Agent: Ops Notifier\nCritical findings:\n- DT-TIP-05 - Tipper 05 | Service overdue 15d\n- CP-JAW-02 - Jaw Crusher 02 | F...","Artisan Performance Summary - AI Agent: HR Artisan Performance\n- Tendai Moyo: assigned 12, completed 9, utilization 46%, compliance 62%\n- Farai Dube:...","Weekly KPI Report - AI Agent: KPI Analyst\n- Availability: 82.6%\n- Utilization: 58.3%\n- MTBF: 31h\n- Fuel efficiency: 19.1 L\/hr\nRisks: Downtim...","Cost Control Alert - AI Agent: Cost Control\n- Maintenance costs spiked to $18,250 (avg $9,600)\n- Fuel costs spiked to $7,890 (avg $4,700)\nRec...","Ops Notifier - AI Agent: Ops Notifier\nCritical findings:\n- DT-TIP-05 - Tipper 05 | Service overdue 15d\n- CP-JAW-02 - Jaw Crusher 02 | F...","Finance Oversight Digest - AI Agent: Finance Oversight\n- PR aging: 6.4 days | PO aging: 9.8 days | Invoice aging: 18.1 days\n- Unpaid total: $42,850..."],"top_wins":["No major wins captured; focus on closing overdue PMs and approvals."],"total_spend":null,"spend_vs_budget":null,"unpaid_total":null,"pr_aging_days":null,"po_aging_days":null,"invoice_aging_days":null,"data_confidence":["No downtime logs found in this window.","No invoice intake rows found for aging and exposure calculations."]},"sections":{"maintenance_compliance":{"key":"maintenance_compliance","title":"Maintenance Compliance","purpose":"Identify assets overdue for service and rank risk based on meters and schedule dates.","severity":"warn","metrics":{"overdue_count":0},"findings":[],"recommended_actions":[],"summary":"AI Agent: Maintenance Compliance\nOverdue assets:\n- ME-EXC-03 - Excavator 03 | 4d overdue | Risk: Medium\n- CP-CONV-02 - Conveyor 02 | 220h overdue | Risk: Medium\n- DT-TIP-05 - Tipper 05 | 15d overdue | Risk: High","no_data":false,"data_confidence":[]},"failure_prediction":{"key":"failure_prediction","title":"Failure Prediction","purpose":"Detect abnormal downtime, fuel variance, and spares spend to flag failure risks.","severity":"alarm","metrics":[],"findings":[],"recommended_actions":[],"summary":"AI Agent: Failure Prediction\nSignals:\n- CP-JAW-02 - Jaw Crusher 02 | downtime 12.4h (30d)\n- ME-LDR-02 - Loader 02 | spares spend $7,980\n- BP-GEN-01 - Generator 01 | fuel variance 24\nRecommendations:\n- Inspect crusher bearings within 48h.\n- Review loader hydraulic leaks.\n- Check generator fuel sensor calibration.","no_data":false,"data_confidence":[]},"kpi_analyst":{"key":"kpi_analyst","title":"Weekly KPI Report","purpose":"Summarize headline performance KPIs for the week and highlight risks and wins.","severity":"warn","metrics":{"availability":null,"utilization":null,"mtbf":null,"fuel_efficiency":null,"downtime_hours":null},"findings":[],"recommended_actions":[],"summary":"AI Agent: KPI Analyst\n- Availability: 82.6%\n- Utilization: 58.3%\n- MTBF: 31h\n- Fuel efficiency: 19.1 L\/hr\nRisks: Downtime 6.8h this week.\nWins: PM completion improved by 9%.","no_data":false,"data_confidence":[]},"cost_control":{"key":"cost_control","title":"Cost Control Alert","purpose":"Monitor maintenance and fuel cost spikes against historical averages.","severity":"alarm","metrics":[],"findings":[],"recommended_actions":[],"summary":"AI Agent: Cost Control\n- Maintenance costs spiked to $18,250 (avg $9,600)\n- Fuel costs spiked to $7,890 (avg $4,700)\nRecommendation: Validate invoices and review high-cost work orders.","no_data":false,"data_confidence":[]},"ops_notifier":{"key":"ops_notifier","title":"Ops Notifier","purpose":"Escalate critical operational risks and compliance\/licensing expiries.","severity":"alarm","metrics":[],"findings":[],"recommended_actions":[],"summary":"AI Agent: Ops Notifier\nCritical findings:\n- DT-TIP-05 - Tipper 05 | Service overdue 15d\n- CP-JAW-02 - Jaw Crusher 02 | Failure risk high\n- BP-GEN-01 - Generator 01 | Fuel variance alert","no_data":false,"data_confidence":[]},"finance_oversight":{"key":"finance_oversight","title":"Finance Oversight Digest","purpose":"Monitor PR\/PO\/Invoice\/payment governance, aging, and budget exposure.","severity":"alarm","metrics":[],"findings":[],"recommended_actions":[],"summary":"AI Agent: Finance Oversight\n- PR aging: 6.4 days | PO aging: 9.8 days | Invoice aging: 18.1 days\n- Unpaid total: $42,850 | Spend vs budget: 128%\nFindings:\n- Duplicate invoice detected (INV-2213)\n- Invoice missing PO\/GRN link (INV-2291)\n- PO overdue delivery (PO-0187)\nSuggested action: HOLD_PAYMENT","no_data":false,"data_confidence":[]},"hr_artisan_performance":{"key":"hr_artisan_performance","title":"Artisan Performance Summary","purpose":"Assess artisan utilization, compliance, and repeat-failure indicators.","severity":"warn","metrics":[],"findings":[],"recommended_actions":[],"summary":"AI Agent: HR Artisan Performance\n- Tendai Moyo: assigned 12, completed 9, utilization 46%, compliance 62%\n- Farai Dube: assigned 8, completed 8, utilization 74%, compliance 91%\n- Memory Ncube: assigned 6, completed 3, utilization 29%, compliance 45%\nFindings:\n- Low utilization (<30%) (Memory Ncube)\n- Checklist compliance below 50% (Memory Ncube)\nSuggested action: REVIEW_SUPERVISOR","no_data":false,"data_confidence":[]}},"maintenance":{"overdue":[],"downtime_hours":0,"downtime_reasons":[],"failure_risks":[],"data_confidence":["No downtime logs found in this window."]},"finance":{"metrics":[],"findings":[],"aging_buckets":{"0-30":0,"31-60":0,"61-90":0,"90+":0},"top_vendors":[],"data_confidence":["No invoice intake rows found for aging and exposure calculations."]},"hr":{"metrics":[],"findings":[],"data_confidence":[]},"ops_notifier":{"items":[],"findings":[],"data_confidence":[]},"notifications":{"by_channel":[{"channel":"telegram","queued":0,"sent":1,"failed":0}],"by_severity":[{"severity":"info","count":1}],"alarm_escalations":[]}}', 'ready', '2026-01-24 19:04:02', '2026-01-25 16:01:35');

-- Table: work_order_costs
CREATE TABLE "work_order_costs" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "work_order_id" integer not null, "type" varchar not null, "description" varchar, "quantity" numeric, "unit_cost" numeric, "total_cost" numeric, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("work_order_id") references "work_orders"("id") on delete cascade);


-- Table: work_order_documents
CREATE TABLE "work_order_documents" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "work_order_id" integer not null, "storage_path" varchar not null, "original_name" varchar, "uploaded_by" integer, "source" varchar, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("work_order_id") references "work_orders"("id") on delete cascade, foreign key("uploaded_by") references "users"("id") on delete set null);


-- Table: work_order_notes
CREATE TABLE "work_order_notes" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "work_order_id" integer not null, "created_by" integer, "type" varchar, "note" text, "progress_percent" numeric, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("work_order_id") references "work_orders"("id") on delete cascade, foreign key("created_by") references "users"("id") on delete set null);


-- Table: work_order_parts
CREATE TABLE "work_order_parts" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "work_order_id" integer not null, "part_id" integer not null, "quantity" numeric not null default '1', "unit_cost" numeric, "total_cost" numeric, "created_at" datetime, "updated_at" datetime, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("work_order_id") references "work_orders"("id") on delete cascade, foreign key("part_id") references "parts"("id") on delete cascade);


-- Table: work_orders
CREATE TABLE "work_orders" ("id" integer not null primary key autoincrement, "tenant_id" integer not null, "asset_id" integer not null, "checklist_id" integer, "alarm_id" integer, "reported_by" integer, "assigned_to" integer, "downtime_reason_id" integer, "type" varchar not null default 'preventive', "status" varchar not null default 'open', "priority" varchar not null default 'medium', "description" text, "cause" text, "resolution" text, "meter_reading" numeric, "due_at" datetime, "started_at" datetime, "completed_at" datetime, "auto_generated" tinyint(1) not null default '0', "total_cost" numeric, "deleted_at" datetime, "created_at" datetime, "updated_at" datetime, "reference_code" varchar, "source" varchar, "accepted_at" datetime, "progress_percent" numeric, "estimated_cost" numeric, "requires_approval" tinyint(1) not null default '0', "approval_status" varchar, "approved_by" integer, "approved_at" datetime, "planned_start" datetime, "last_reminded_at" datetime, "pm_schedule_id" integer, foreign key("tenant_id") references "tenants"("id") on delete cascade, foreign key("asset_id") references "assets"("id") on delete cascade, foreign key("checklist_id") references "checklists"("id") on delete set null, foreign key("reported_by") references "users"("id") on delete set null, foreign key("assigned_to") references "users"("id") on delete set null, foreign key("downtime_reason_id") references "downtime_reason_codes"("id") on delete set null);

INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('1', '21', '59', '4', NULL, NULL, NULL, '5', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:54', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('2', '21', '60', '3', NULL, NULL, NULL, '5', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:54', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('3', '21', '61', '4', NULL, NULL, NULL, '6', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:54', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('4', '22', '67', '6', NULL, NULL, NULL, '9', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:54', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('5', '22', '68', '6', NULL, NULL, NULL, '8', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:54', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('6', '22', '69', '5', NULL, NULL, NULL, '8', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:54', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:54', '2026-01-11 14:10:54', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('7', '23', '75', '8', NULL, NULL, NULL, '11', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:55', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('8', '23', '76', '8', NULL, NULL, NULL, '11', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:55', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('9', '23', '77', '8', NULL, NULL, NULL, '10', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:55', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:55', '2026-01-11 14:10:55', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('10', '24', '83', '10', NULL, NULL, NULL, '14', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:56', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('11', '24', '84', '9', NULL, NULL, NULL, '15', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:56', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('12', '24', '85', '9', NULL, NULL, NULL, '15', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:56', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:56', '2026-01-11 14:10:56', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('13', '25', '91', '12', NULL, NULL, NULL, '17', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:57', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('14', '25', '92', '11', NULL, NULL, NULL, '18', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:57', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('15', '25', '93', '11', NULL, NULL, NULL, '17', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:57', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:57', '2026-01-11 14:10:57', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('16', '26', '99', '13', NULL, NULL, NULL, '20', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:58', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('17', '26', '100', '13', NULL, NULL, NULL, '20', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:58', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('18', '26', '101', '14', NULL, NULL, NULL, '21', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:58', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('19', '27', '107', '16', NULL, NULL, NULL, '23', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:58', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('20', '27', '108', '16', NULL, NULL, NULL, '24', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:58', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('21', '27', '109', '16', NULL, NULL, NULL, '23', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:58', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:58', '2026-01-11 14:10:58', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('22', '28', '115', '18', NULL, NULL, NULL, '27', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:59', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('23', '28', '116', '17', NULL, NULL, NULL, '25', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:59', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('24', '28', '117', '17', NULL, NULL, NULL, '25', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:10:59', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:10:59', '2026-01-11 14:10:59', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('25', '29', '123', '20', NULL, NULL, NULL, '29', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:11:00', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('26', '29', '124', '20', NULL, NULL, NULL, '30', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:11:00', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('27', '29', '125', '20', NULL, NULL, NULL, '29', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:11:00', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:11:00', '2026-01-11 14:11:00', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('28', '30', '131', '22', NULL, NULL, NULL, '31', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:11:01', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:11:01', '2026-01-11 14:11:01', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('29', '30', '132', '22', NULL, NULL, NULL, '31', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:11:01', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:11:01', '2026-01-11 14:11:01', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('30', '30', '133', '21', NULL, NULL, NULL, '32', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 14:11:01', NULL, NULL, '0', NULL, NULL, '2026-01-11 14:11:01', '2026-01-11 14:11:01', NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('31', '31', '156', '24', NULL, NULL, NULL, '37', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-19 20:11:12', NULL, NULL, '0', '1993', NULL, '2026-01-13 20:11:12', '2026-01-13 20:11:12', 'WO-232', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('32', '31', '162', '24', NULL, NULL, NULL, '36', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-22 20:11:12', NULL, NULL, '0', '4127', NULL, '2026-01-13 20:11:12', '2026-01-13 20:11:12', 'WO-260', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('33', '31', '148', '25', NULL, NULL, NULL, '35', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 20:11:12', NULL, NULL, '0', '3400', NULL, '2026-01-13 20:11:12', '2026-01-13 20:11:12', 'WO-225', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('34', '31', '149', '25', NULL, NULL, NULL, '34', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-24 20:11:12', NULL, NULL, '0', '4692', NULL, '2026-01-13 20:11:12', '2026-01-13 20:11:12', 'WO-248', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('35', '31', '157', '24', NULL, NULL, NULL, '37', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 20:11:12', NULL, NULL, '0', '2054', NULL, '2026-01-13 20:11:12', '2026-01-13 20:11:12', 'WO-234', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('36', '31', '151', '25', NULL, NULL, NULL, '36', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-23 20:11:12', NULL, NULL, '0', '1894', NULL, '2026-01-13 20:11:12', '2026-01-13 20:11:12', 'WO-224', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('37', '31', '142', '25', NULL, NULL, NULL, '37', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-23 20:11:12', NULL, NULL, '0', '2098', NULL, '2026-01-13 20:11:12', '2026-01-13 20:11:12', 'WO-252', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('38', '31', '144', '25', NULL, NULL, NULL, '34', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-21 20:11:12', NULL, NULL, '0', '5342', NULL, '2026-01-13 20:11:12', '2026-01-13 20:11:12', 'WO-226', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('39', '31', '156', '25', NULL, NULL, NULL, '35', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-20 20:15:01', NULL, NULL, '0', '3432', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0208', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('40', '31', '162', '25', NULL, NULL, NULL, '35', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-22 20:15:01', NULL, NULL, '0', '1917', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0209', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('41', '31', '148', '24', NULL, NULL, NULL, '35', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 20:15:01', NULL, NULL, '0', '3987', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0210', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('42', '31', '149', '23', NULL, NULL, NULL, '34', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-25 20:15:01', NULL, NULL, '0', '3947', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0211', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('43', '31', '157', '23', NULL, NULL, NULL, '34', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-23 20:15:01', NULL, NULL, '0', '3289', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0212', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('44', '31', '151', '24', NULL, NULL, NULL, '36', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-22 20:15:01', NULL, NULL, '0', '3498', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0213', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('45', '31', '142', '23', NULL, NULL, NULL, '36', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-24 20:15:01', NULL, NULL, '0', '3897', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0214', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('46', '31', '144', '23', NULL, NULL, NULL, '36', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-24 20:15:01', NULL, NULL, '0', '1683', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0215', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('47', '31', '140', '23', NULL, NULL, NULL, '36', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-21 20:15:01', NULL, NULL, '0', '5378', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0216', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('48', '31', '139', '25', NULL, NULL, NULL, '34', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-21 20:15:01', NULL, NULL, '0', '3073', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0217', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('49', '31', '152', '25', NULL, NULL, NULL, '34', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-25 20:15:01', NULL, NULL, '0', '2550', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0218', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('50', '31', '163', '24', NULL, NULL, NULL, '36', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-19 20:15:01', NULL, NULL, '0', '1690', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0219', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('51', '31', '155', '24', NULL, NULL, NULL, '35', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-23 20:15:01', NULL, NULL, '0', '1773', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0220', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('52', '31', '154', '24', NULL, NULL, NULL, '36', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-23 20:15:01', NULL, NULL, '0', '5303', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0221', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('53', '31', '143', '23', NULL, NULL, NULL, '36', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-19 20:15:01', NULL, NULL, '0', '4567', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0222', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('54', '31', '146', '23', NULL, NULL, NULL, '34', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-25 20:15:01', NULL, NULL, '0', '2850', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0223', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('55', '31', '145', '24', NULL, NULL, NULL, '36', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-21 20:15:01', NULL, NULL, '0', '3636', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0224', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('56', '31', '141', '24', NULL, NULL, NULL, '34', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-24 20:15:01', NULL, NULL, '0', '1855', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0225', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('57', '31', '158', '25', NULL, NULL, NULL, '34', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-18 20:15:01', NULL, NULL, '0', '3141', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0226', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('58', '31', '159', '24', NULL, NULL, NULL, '36', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-22 20:15:01', NULL, NULL, '0', '4355', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0227', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('59', '31', '150', '25', NULL, NULL, NULL, '37', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-21 20:15:01', NULL, NULL, '0', '5102', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0228', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('60', '31', '153', '23', NULL, NULL, NULL, '34', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-23 20:15:01', NULL, NULL, '0', '2718', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0229', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('61', '31', '164', '24', NULL, NULL, NULL, '34', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-22 20:15:01', NULL, NULL, '0', '3997', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0230', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('62', '31', '160', '24', NULL, NULL, NULL, '37', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-25 20:15:01', NULL, NULL, '0', '2339', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0231', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('63', '31', '161', '23', NULL, NULL, NULL, '35', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-22 20:15:01', NULL, NULL, '0', '3176', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0232', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('64', '31', '147', '25', NULL, NULL, NULL, '37', 'preventive', 'open', 'medium', 'Quarterly inspection and lubrication.', NULL, NULL, NULL, '2026-01-21 20:15:01', NULL, NULL, '0', '4611', NULL, '2026-01-13 20:15:01', '2026-01-13 20:15:01', 'WO-0233', 'inspection', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('65', '31', '156', NULL, NULL, '1', NULL, NULL, 'preventive', 'open', 'high', 'Hydraulic leak', NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, '2026-01-20 13:56:14', '2026-01-20 13:56:14', 'WO-9SM8SF', 'telegram', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('66', '31', '156', NULL, NULL, '1', NULL, NULL, 'preventive', 'open', 'medium', 'Hydraulic leak', NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, '2026-01-20 17:23:12', '2026-01-20 17:23:12', 'WO-UK3VPT', 'telegram', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "work_orders" ("id", "tenant_id", "asset_id", "checklist_id", "alarm_id", "reported_by", "assigned_to", "downtime_reason_id", "type", "status", "priority", "description", "cause", "resolution", "meter_reading", "due_at", "started_at", "completed_at", "auto_generated", "total_cost", "deleted_at", "created_at", "updated_at", "reference_code", "source", "accepted_at", "progress_percent", "estimated_cost", "requires_approval", "approval_status", "approved_by", "approved_at", "planned_start", "last_reminded_at", "pm_schedule_id") VALUES ('67', '31', '156', NULL, NULL, '1', NULL, NULL, 'preventive', 'open', 'medium', 'Hydraulic leak', NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, '2026-01-22 17:45:25', '2026-01-22 17:45:25', 'WO-P0DXIB', 'telegram', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);

-- Indexes / triggers / views
CREATE INDEX "agent_notifications_agent_key_index" on "agent_notifications" ("agent_key");
CREATE INDEX "agent_notifications_tenant_id_index" on "agent_notifications" ("tenant_id");
CREATE UNIQUE INDEX "asset_spares_tenant_id_asset_id_part_id_unique" on "asset_spares" ("tenant_id", "asset_id", "part_id");
CREATE UNIQUE INDEX "assets_tenant_id_asset_tag_unique" on "assets" ("tenant_id", "asset_tag");
CREATE INDEX "compliance_records_tenant_id_compliance_type_index" on "compliance_records" ("tenant_id", "compliance_type");
CREATE INDEX "compliance_records_tenant_id_expiry_date_index" on "compliance_records" ("tenant_id", "expiry_date");
CREATE UNIQUE INDEX "failed_jobs_uuid_unique" on "failed_jobs" ("uuid");
CREATE UNIQUE INDEX "goods_receipts_tenant_id_reference_unique" on "goods_receipts" ("tenant_id", "reference");
CREATE INDEX "jobs_queue_index" on "jobs" ("queue");
CREATE INDEX "maintenance_cashflow_lines_tenant_id_period_label_index" on "maintenance_cashflow_lines" ("tenant_id", "period_label");
CREATE INDEX "maintenance_cashflow_lines_tenant_id_period_type_index" on "maintenance_cashflow_lines" ("tenant_id", "period_type");
CREATE INDEX "maintenance_risk_heatmaps_tenant_id_week_index" on "maintenance_risk_heatmaps" ("tenant_id", "week");
CREATE INDEX "maintenance_risk_registers_tenant_id_risk_code_index" on "maintenance_risk_registers" ("tenant_id", "risk_code");
CREATE INDEX "maintenance_weekly_repairs_tenant_id_week_index" on "maintenance_weekly_repairs" ("tenant_id", "week");
CREATE INDEX "notification_outbox_tenant_id_dedupe_key_index" on "notification_outbox" ("tenant_id", "dedupe_key");
CREATE INDEX "notification_outbox_tenant_id_status_index" on "notification_outbox" ("tenant_id", "status");
CREATE INDEX "oauth_access_tokens_user_id_index" on "oauth_access_tokens" ("user_id");
CREATE INDEX "oauth_auth_codes_user_id_index" on "oauth_auth_codes" ("user_id");
CREATE INDEX "oauth_clients_user_id_index" on "oauth_clients" ("user_id");
CREATE INDEX "oauth_refresh_tokens_access_token_id_index" on "oauth_refresh_tokens" ("access_token_id");
CREATE INDEX "password_resets_email_index" on "password_resets" ("email");
CREATE UNIQUE INDEX "personal_access_tokens_token_unique" on "personal_access_tokens" ("token");
CREATE INDEX "personal_access_tokens_tokenable_type_tokenable_id_index" on "personal_access_tokens" ("tokenable_type", "tokenable_id");
CREATE UNIQUE INDEX "purchase_orders_tenant_id_po_number_unique" on "purchase_orders" ("tenant_id", "po_number");
CREATE UNIQUE INDEX "purchase_requests_tenant_id_request_code_unique" on "purchase_requests" ("tenant_id", "request_code");
CREATE INDEX "reconciliation_links_tenant_id_source_type_source_id_index" on "reconciliation_links" ("tenant_id", "source_type", "source_id");
CREATE INDEX "reconciliation_links_tenant_id_target_type_target_id_index" on "reconciliation_links" ("tenant_id", "target_type", "target_id");
CREATE UNIQUE INDEX "role_user_role_id_user_id_unique" on "role_user" ("role_id", "user_id");
CREATE UNIQUE INDEX "telegram_events_tenant_id_dedupe_key_unique" on "telegram_events" ("tenant_id", "dedupe_key");
CREATE UNIQUE INDEX "telegram_events_tenant_id_event_code_unique" on "telegram_events" ("tenant_id", "event_code");
CREATE UNIQUE INDEX "telegram_groups_tenant_id_chat_id_unique" on "telegram_groups" ("tenant_id", "chat_id");
CREATE UNIQUE INDEX "telegram_groups_tenant_id_name_unique" on "telegram_groups" ("tenant_id", "name");
CREATE UNIQUE INDEX "telegram_link_codes_code_unique" on "telegram_link_codes" ("code");
CREATE UNIQUE INDEX "telegram_links_telegram_user_id_unique" on "telegram_links" ("telegram_user_id");
CREATE UNIQUE INDEX "tenants_email_unique" on "tenants" ("email");
CREATE UNIQUE INDEX "tenants_subdomain_unique" on "tenants" ("subdomain");
CREATE UNIQUE INDEX "users_email_unique" on "users" ("email");
CREATE UNIQUE INDEX "vehicles_license_plate_unique" on "vehicles" ("license_plate");
CREATE INDEX "weekly_report_sections_section_code_index" on "weekly_report_sections" ("section_code");
CREATE INDEX "weekly_report_sections_weekly_report_id_index" on "weekly_report_sections" ("weekly_report_id");
CREATE INDEX "weekly_reports_report_week_index" on "weekly_reports" ("report_week");
CREATE INDEX "weekly_reports_tenant_id_index" on "weekly_reports" ("tenant_id");
CREATE UNIQUE INDEX "weekly_reports_tenant_id_report_week_unique" on "weekly_reports" ("tenant_id", "report_week");
CREATE UNIQUE INDEX "work_orders_tenant_id_reference_code_unique" on "work_orders" ("tenant_id", "reference_code");

COMMIT;
