daniel21gt
4 months ago

Problems to modify table attribute in migrations, laravel 5.5

Posted 4 months ago by daniel21gt

How are you.

I know that to alter changes in existing migrations, this command can be applied.

php artisan make: migration users

But in my case, I have a table users with a field called mail, which has an attribute like UNIQUE (), how can I change this attribute, without altering the information I have in the tables?

Please sign in or create an account to participate in this conversation.