summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/modules/Person.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/modules/Person.sql b/sql/modules/Person.sql
index 9bdc9e1f..dbc73b3b 100644
--- a/sql/modules/Person.sql
+++ b/sql/modules/Person.sql
@@ -233,7 +233,7 @@ BEGIN
AND loc.id = in_location_id;
IF NOT FOUND THEN
- RAISE EXCEPTION "Cannot find records to delete for entity % and location %", in_entity_id, in_location_id;
+ RAISE EXCEPTION 'Cannot find records to delete for entity % and location %', in_entity_id, in_location_id;
ELSE
DELETE FROM people_to_location WHERE location_id = in_location_id;
DELETE FROM location WHERE location_id = in_location_id;