--- StorePal Sync Debugger V2 --- Checking table: daily_business_health Status: Table exists. Columns in 'daily_business_health': - id (int(11)) - uuid (varchar(100)) - orgId (varchar(100)) - branchId (varchar(100)) - reportDate (date) - healthScore (int(11)) - status (varchar(50)) - revenue (decimal(15,2)) - profit (decimal(15,2)) - transactions (int(11)) - productsSold (decimal(15,2)) - profitMargin (decimal(5,2)) - recommendations (text) - emailSent (tinyint(1)) - emailSentAt (bigint(20)) - created_at (bigint(20)) - updated_at (bigint(20)) - isDeleted (tinyint(1)) Testing dummy insert into 'daily_business_health'... Dummy insert: FAILED ERROR MESSAGE: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`yhtlvvdt_storepalafrica`.`daily_business_health`, CONSTRAINT `daily_business_health_ibfk_1` FOREIGN KEY (`orgId`) REFERENCES `organizations` (`orgId`) ON DELETE CASCADE) --- End of Debug ---