
START TRANSACTION;

SET @id := (SELECT `id` FROM `fields` WHERE `key` = "opt_o_allow_add_property");
UPDATE `multi_lang` SET `content` = 'Hide "Add property" menu on the front-end' WHERE `foreign_id` = @id AND `model` = "pjField" AND `field` = "title";

UPDATE `options` SET `value` = 'Yes|No::No' WHERE `key` = "o_allow_add_property";

COMMIT;