Is there a way to create a 6 digit, zerofill id through Laravel? I've been doing it through phpmyadmin gui. Not sure how to replicate when Im creating a migration.
Maybe a little late for this, but for someone who needs zerofill for some reason, Laravel doesn't have it by default because it's specific to MySQL. However, you can use an ALTER TABLE statement in your migration to achieve this. Here's an example: