Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel migration remove column

public function up()
{
  Schema::table('table', function($table) {
    $table->dropColumn('column_name');
  });
}
 
PREVIOUS NEXT
Tagged: #laravel #migration #remove #column
ADD COMMENT
Topic
Name
4+3 =