Answers for "ramove and add column with migration laravel"

PHP
6

laravel migration remove column

public function up()
{
  Schema::table('table', function($table) {
    $table->dropColumn('column_name');
  });
}
Posted by: Guest on April-16-2020

Code answers related to "ramove and add column with migration laravel"

Browse Popular Code Answers by Language