Are you using a migration? if not, as ddimaria said, just add the 'auto increment' property to the id column of your table.
I am using migrations. =/
Sensors said:
Are you using a migration? if not, as ddimaria said, just add the 'auto increment' property to the id column of your table.
You can still add that statement in a migration after you build the table:
DB::update('ALTER TABLE users AUTO_INCREMENT = some_number_here');
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community