Answers for "laravel - migration to delete table with period in it's name"

PHP
13

laravel migration remove column

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

laravel drop table migration

Schema::drop('users');

Schema::dropIfExists('users');
Posted by: Guest on April-27-2020

Code answers related to "laravel - migration to delete table with period in it's name"

Browse Popular Code Answers by Language