
START TRANSACTION;

SET @id := (SELECT `id` FROM `fields` WHERE `key` = "pj_attendees_validation");
UPDATE `multi_lang` SET `content` = 'Attendees count should not exceed room capacity.' WHERE `foreign_id` = @id AND `model` = "pjField" AND `field` = "title";

SET @id := (SELECT `id` FROM `fields` WHERE `key` = "front_max_attendees_valid");
UPDATE `multi_lang` SET `content` = 'Attendees count should not exceed room capacity.' WHERE `foreign_id` = @id AND `model` = "pjField" AND `field` = "title";

INSERT INTO `fields` VALUES (NULL, 'front_incorrect_captcha', 'frontend', 'Label / Captcha is not correct.', 'script', '2017-03-23 07:24:47');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Captcha is not correct.', 'script');

COMMIT;