vendredi 3 mars 2017

Rearrange columns in a Laravel migration file

How do I re-arrange a column in a Laravel migration file for a MySQL database?

So far I have the following:

$table->date('foo')->after('bar')->change();

However, it does not seem to re-arrange the column.

Why not and how can I fix this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire