mirror of
https://github.com/grocy/grocy.git
synced 2026-03-27 23:29:25 +01:00
Don't use double quoted string literals (in triggers / RAISE)
This commit is contained in:
parent
ba2cb6ce08
commit
4148f8e88e
|
|
@ -23,7 +23,7 @@ SELECT CASE WHEN((
|
|||
AND qu_id_purchase = NEW.from_qu_id
|
||||
AND qu_id_stock = NEW.to_qu_id
|
||||
)
|
||||
NOTNULL) THEN RAISE(ABORT, "Unique constraint violation") END;
|
||||
NOTNULL) THEN RAISE(ABORT, 'Unique constraint violation') END;
|
||||
END;
|
||||
|
||||
CREATE TRIGGER quantity_unit_conversions_custom_unique_constraint_UPD BEFORE UPDATE ON quantity_unit_conversions
|
||||
|
|
@ -43,7 +43,7 @@ SELECT CASE WHEN((
|
|||
AND qu_id_purchase = NEW.from_qu_id
|
||||
AND qu_id_stock = NEW.to_qu_id
|
||||
)
|
||||
NOTNULL) THEN RAISE(ABORT, "Unique constraint violation") END;
|
||||
NOTNULL) THEN RAISE(ABORT, 'Unique constraint violation') END;
|
||||
END;
|
||||
|
||||
CREATE VIEW quantity_unit_conversions_resolved
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user