Updated CMS_STORAGE interaface.

This commit is contained in:
jvelilla
2014-09-19 15:31:58 -03:00
parent 878daa656c
commit ce05da15b5
7 changed files with 264 additions and 53 deletions

View File

@@ -0,0 +1,8 @@
DELIMITER $$
CREATE TRIGGER update_editor
AFTER INSERT ON `users_nodes` FOR EACH ROW
UPDATE Nodes
SET editor_id = NEW.users_id
WHERE id = NEW.nodes_id;
$$
DELIMITER ;