Commit 7cd7aa5f authored by Carsten  Rose's avatar Carsten Rose
Browse files

fromEditor.sql: deactivate (commentd) the stored procedures for updating...

fromEditor.sql: deactivate (commentd) the stored procedures for updating 'modified' - CR have troubles to apply stored procedures on noteboook littau.
parent 5440cdf1
...@@ -37,16 +37,16 @@ CREATE TABLE IF NOT EXISTS `Form` ( ...@@ -37,16 +37,16 @@ CREATE TABLE IF NOT EXISTS `Form` (
DEFAULT CHARSET = utf8 DEFAULT CHARSET = utf8
AUTO_INCREMENT = 0; AUTO_INCREMENT = 0;
-- #--
-- Triggers `Form` #-- Triggers `Form`
-- #--
DROP TRIGGER IF EXISTS `on_Form_update_modified`; #DROP TRIGGER IF EXISTS `on_Form_update_modified`;
DELIMITER // #DELIMITER //
CREATE TRIGGER `on_Form_update_modified` BEFORE UPDATE ON `Form` #CREATE TRIGGER `on_Form_update_modified` BEFORE UPDATE ON `Form`
FOR EACH ROW SET NEW.modified = #FOR EACH ROW SET NEW.modified =
current_timestamp() #current_timestamp()
// #//
DELIMITER ; #DELIMITER ;
# ---------------------------------------- # ----------------------------------------
# FormElement # FormElement
...@@ -104,16 +104,16 @@ CREATE TABLE IF NOT EXISTS `FormElement` ( ...@@ -104,16 +104,16 @@ CREATE TABLE IF NOT EXISTS `FormElement` (
DEFAULT CHARSET = utf8 DEFAULT CHARSET = utf8
AUTO_INCREMENT = 0; AUTO_INCREMENT = 0;
-- #--
-- Triggers `FormElement` #-- Triggers `FormElement`
-- #--
DROP TRIGGER IF EXISTS `on_FormEelement_update_modified`; #DROP TRIGGER IF EXISTS `on_FormEelement_update_modified`;
DELIMITER // #DELIMITER //
CREATE TRIGGER `on_FormEelement_update_modified` BEFORE UPDATE ON `FormElement` #CREATE TRIGGER `on_FormEelement_update_modified` BEFORE UPDATE ON `FormElement`
FOR EACH ROW SET NEW.modified = #FOR EACH ROW SET NEW.modified =
current_timestamp() #current_timestamp()
// #//
DELIMITER ; #DELIMITER ;
# #
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment