DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
add new column in existing table in laravel migration
public
function
down
(
)
{
Schema
::
table
(
'users'
,
function
(
$table
)
{
$table
->
dropColumn
(
'paid'
)
;
}
)
;
}
Source by www.edureka.co #
PREVIOUS
NEXT
Tagged:
#add
#column
#existing
#table
#laravel
#migration
ADD COMMENT
Topic
COMMENT
Name
8+7 =
Submit