1public function up()
2{
3 Schema::table('table', function($table) {
4 $table->dropColumn('column_name');
5 });
6}
1// You may drop multiple columns from a table by passing an array of column
2// names to the dropColumn method. Before dropping columns from a SQLite DB,
3// you will need to add the doctrine/dbal dependency to your composer.json file
4// and run the composer update command in your terminal to install the library:
5
6Schema::table('users', function (Blueprint $table) {
7 $table->dropColumn(['votes', 'avatar', 'location']);
8});