INSERT INTO tbloptions_static (name, value, autoload) VALUES('business_hours_added', '0', 1);
INSERT INTO tbloptions_static (name, value, autoload) VALUES('business_hours', '', 1);
INSERT INTO tbloptions_static (name, value, autoload) VALUES('mileage_trip_unit', 'miles', 1);
INSERT INTO tbloptions_static (name, value, autoload) VALUES('mileage_trip_fetch_location_every', '30', 1);

INSERT INTO tbloptions (tenant_id, name, value, autoload)
SELECT t.id,s.name,s.value,s.autoload
FROM tbltenants t
JOIN tbloptions_static s ON 1 = 1 AND s.name IN ('business_hours_added','business_hours','mileage_trip_unit','mileage_trip_fetch_location_every');
