You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there's a bug in the database triggers. The auto increment trigger looks like this:
CREATE TRIGGER inc_ins_num AFTER INSERT ON instruction_in_recipe
BEGIN
UPDATE instruction_in_recipe SET instruction_number =
(SELECT max(instruction_number) FROM instruction_in_recipe WHERE recipe_id = new.recipe_id) + 1
WHERE rowid = new.rowid;
END;
I suspect the problem is that there is no column named "rowid". I have no idea if there is an impact from this. I am deep in an interesting idea, or I would otherwise stop and fix it myself.
The text was updated successfully, but these errors were encountered:
I think there's a bug in the database triggers. The auto increment trigger looks like this:
I suspect the problem is that there is no column named "rowid". I have no idea if there is an impact from this. I am deep in an interesting idea, or I would otherwise stop and fix it myself.
The text was updated successfully, but these errors were encountered: