LA
erro sql no permission-update.sql
Me aparece este erro quando executo estes dois INSERTs.
SQL Error [21000]: ERROR: more than one row returned by a subquery used as an expression.
SQL Error [21000]: ERROR: more than one row returned by a subquery used as an expression.
INSERT INTO system_group_program VALUES((SELECT coalesce(max(id),0)+1 FROM system_group_program b), 1,(SELECT id FROM system_program WHERE controller='SystemFilesDiff'));
INSERT INTO system_group_program VALUES((SELECT coalesce(max(id),0)+1 FROM system_group_program b), 1,(SELECT id FROM system_program WHERE controller='SystemInformationView'));
Hola Luis Alberto
A sua subSelect esta trazendo mais de uma linha.