CREATE TABLE `insurance` (
`id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`employee_id` int(11),
`company_name` varchar(255),
`insurance_type` int(11),
`series` varchar(255),
`number` varchar(255),
`issue_date` timestamp NOT NULL DEFAULT 'CURRENT_TIMESTAMP',
`expiration_date` timestamp NOT NULL DEFAULT 'CURRENT_TIMESTAMP',
`scan_id` int(11)
) CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE=InnoDB
Syntax error or access violation: 1067 Invalid default value for 'issue_date'
The SQL being executed was:
по крестику nimb.ws/WF1cAL это встроенная кнопка.