Сообщение#19 » 25 окт 2017 00:11
при выполнении sql выпадает ошибка
Ошибка
SQL запрос:
CREATE TABLE site_calls (
call_id INT(11) NOT NULL AUTO_INCREMENT,
call_first_name VARCHAR(100) NOT NULL DEFAULT '',
call_last_name VARCHAR(100) NOT NULL DEFAULT '',
call_phone VARCHAR(100) NOT NULL DEFAULT '',
call_email VARCHAR(200) NOT NULL DEFAULT '',
call_department INT(11) NOT NULL DEFAULT 0,
call_request INT(11) NOT NULL DEFAULT 0,
call_device INT(11) NOT NULL DEFAULT 0,
call_company VARCHAR(100) NOT NULL DEFAULT '',
call_details TEXT NOT NULL DEFAULT '',
call_date INT(11) NOT NULL DEFAULT 0,
call_date2 INT(11) NOT NULL DEFAULT 0,
call_status INT(11) NOT NULL DEFAULT 0,
call_solution TEXT NOT NULL,
call_user INT(11) NOT NULL DEFAULT 0,
call_staff INT(11) NOT NULL DEFAULT 0,
PRIMARY KEY (call_id),
INDEX call_department (call_department),
INDEX call_device (call_device),
INDEX call_request (call_request),
INDEX call_staff (call_staff),
INDEX call_status (call_status),
INDEX call_user (call_user)
)
ENGINE = INNO[...]
Ответ MySQL: Документация
#1101 - Невозможно указывать значение по умолчанию для столбца BLOB 'call_details'