php - Laravel 5.1 Adding MySQL Column at the Front of a DB Table -


i've noticed there other questions on stack exchange how add columns db table (for example, here), none of them address how add column table first column in table.

i've seen can add ->after('column_name') add column after column within table, there "->before('column_name')" use (or sort of smarter equivalent)?

well, luck have it, jumped gun bit question , managed find own answer.

in laravel 5.1, can use column modifier ->first() in order place column first in table.


Comments

Popular posts from this blog

c# - Store DBContext Log in other EF table -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -