CODE: SQL-запрос:
# --------------------------------------------------------
#
# Table structure for table 'answers'
#
CREATE TABLE answers(
id int( 11 ) DEFAULT '0' NOT NULL AUTO_INCREMENT ,
parent_question int( 11 ) DEFAULT '0' NOT NULL ,
answer text NOT NULL ,
width int( 11 ) DEFAULT '0' NOT NULL ,
scale_id int( 11 ) DEFAULT '0' NOT NULL ,
VIEW int( 11 ) DEFAULT '1' NOT NULL ,
PRIMARY KEY ( id )
)
Ответ MySQL: Документация
#1067 - Invalid default value for 'id' |