START TRANSACTION;

ALTER TABLE `calendars` ADD COLUMN (`is_multi` enum('T','F') NOT NULL DEFAULT 'T');

INSERT INTO `fields` VALUES (NULL, 'lblAllowMultiCalendar', 'backend', 'Label / Allow multi calendar', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `multi_lang` VALUES (NULL, @id, 'pjField', '1', 'title', 'Allow multi calendar', 'script');
INSERT INTO `multi_lang` VALUES (NULL, @id, 'pjField', '2', 'title', 'Allow multi calendar', 'script');
INSERT INTO `multi_lang` VALUES (NULL, @id, 'pjField', '3', 'title', 'Allow multi calendar', 'script');

COMMIT;