-- --------------------------------------------------------
--
-- Структура таблицы `b_sender_group_data`
--
CREATE TABLE `b_sender_group_data` (
`ID` int(11) NOT NULL,
`GROUP_ID` int(11) NOT NULL,
`DATE_INSERT` datetime NOT NULL DEFAULT current_timestamp(),
`FILTER_ID` varchar(256) COLLATE utf8_unicode_ci NOT NULL,
`CRM_ENTITY_ID` int(11) DEFAULT NULL,
`CRM_ENTITY_TYPE_ID` int(11) DEFAULT NULL,
`NAME` varchar(511) COLLATE utf8_unicode_ci DEFAULT NULL,
`CRM_ENTITY_TYPE` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
`CONTACT_ID` int(11) DEFAULT NULL,
`COMPANY_ID` int(11) DEFAULT NULL,
`EMAIL` varchar(511) COLLATE utf8_unicode_ci DEFAULT NULL,
`IM` varchar(511) COLLATE utf8_unicode_ci DEFAULT NULL,
`PHONE` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
`HAS_EMAIL` varchar(1) COLLATE utf8_unicode_ci DEFAULT NULL,
`HAS_IMOL` varchar(1) COLLATE utf8_unicode_ci DEFAULT NULL,
`HAS_PHONE` varchar(1) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB[...]
Ответ MySQL: Документация
#1067 - Некорректное значение по умолчанию для 'DATE_INSERT'
`DATE_INSERT` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP