i try to migrating city and country, but i got this error
[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)
i try to migrating city and country, but i got this error
[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)can you help me how to fix it?