[Illuminate\Database\QueryException]
SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition; there can be only one auto column and it
must be defined as a key (SQL: create table cities (id int unsigned not null auto_increment primary key, name varchar
(35) not null, country_code varchar(3) not null, district varchar(20) not null, population int unsigned not null auto_
increment primary key) default character set utf8 collate utf8_unicode_ci engine = InnoDB)
[PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition; there can be only one auto column and it
must be defined as a key
[Illuminate\Database\QueryException]
SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition; there can be only one auto column and it
must be defined as a key (SQL: create table
cities
(id
int unsigned not null auto_increment primary key,name
varchar(35) not null,
country_code
varchar(3) not null,district
varchar(20) not null,population
int unsigned not null auto_increment primary key) default character set utf8 collate utf8_unicode_ci engine = InnoDB)
[PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition; there can be only one auto column and it
must be defined as a key