Search
 
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
Name
8+9 =