DEV Community


Discussion on: Be careful with big increments with Laravel 6 and 7.

abelsaul profile image

Hello, excellent blog. How would you migrate from increments to bigIncrements on a production system ?

arielmejiadev profile image
Ariel Mejia Author

Thanks in production projects I just stay with the old way or in new projects I work with "BigIncrements" but you can add a new migration to add this type, but your Laravel version must be 6 at least.

If you are working on production project do this in development first and with a database engine as production before do it on production, other tip, before any db change do a db copy to restore if needed.

Thanks for reading.