there's a ->first() to put it before everything else. There's no ->before()
Mar 2, 2021
4
Level 1
Laravel migrations - place columm before another column
In Laravel we have an after() function that adds a column after a given column, for example :
$table->string('address_line2')->after('address_line1');
I would like to add a before('column') function that would add a column before a given column. I will be grateful for your help.
Please or to participate in this conversation.