START TRANSACTION;


ALTER TABLE `locations` ADD COLUMN `min_before_start_rental` int(11) DEFAULT '60';


INSERT INTO `plugin_base_fields` VALUES (NULL, 'lblMinBeforeStartRental', 'backend', 'Label / Min before start rental', 'script', '2018-09-19 07:20:53');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Allow X minutes before the start of the rental', 'script');

INSERT INTO `fields` VALUES (NULL, 'front_1_v_err_min_advance', 'frontend', 'Label / error min advance', 'script', '2014-08-14 11:25:35');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'You must book at least {MINUTES} minutes in advance.', 'script');



COMMIT;