
START TRANSACTION;

ALTER TABLE `plugin_draw_search` ADD `address` VARCHAR(255) NULL AFTER `foreign_id`;

INSERT INTO `fields` VALUES (NULL, 'plugin_draw_search_address', 'backend', 'DrawSearch / Address', 'plugin', '2016-06-22 01:01:30');

SET @id := (SELECT LAST_INSERT_ID());

INSERT INTO `multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Address', 'plugin');

INSERT INTO `fields` VALUES (NULL, 'plugin_draw_search_address_ph', 'backend', 'DrawSearch / Address (placeholder)', 'plugin', '2016-06-22 01:01:50');

SET @id := (SELECT LAST_INSERT_ID());

INSERT INTO `multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Type an address', 'plugin');

COMMIT;