DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
laravel migration change column name
Schema
::
table
(
'users'
,
function
(
Blueprint
$table
)
{
$table
->
renameColumn
(
'from'
,
'to'
)
;
}
)
;
Source by laravel.com #
PREVIOUS
NEXT
Tagged:
#laravel
#migration
#change
#column
ADD COMMENT
Topic
COMMENT
Name
8+4 =
Submit