LOCK TABLES site_global WRITE, site WRITE;

# Get Site ID
select id into @siteId from site limit 1;

# Insert new global settings
INSERT INTO `site_global` (`site_id`, `label`, `json`, `data`)
VALUES
	( @siteId, 'event_settings', 1, '{\n  \"ems_sync\": {\n    \"set_events_active\": true,\n    \"set_packages_active\": true\n  }\n}');

UNLOCK TABLES;
