Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to rename a table element in laravel

Schema::table('users', function (Blueprint $table) {    $table->renameColumn('from', 'to');});
Source by heygabriel.medium.com #
 
PREVIOUS NEXT
Tagged: #rename #table #element #laravel
ADD COMMENT
Topic
Name
7+2 =