1public function down()
2{
3 Schema::table('users', function (Blueprint $table) {
4 $table->dropSoftDeletes();
5 });
6}
1// To drop a column, use the dropColumn method on the schema builder.
2// Before dropping columns from a SQLite database, you will need to add
3// the doctrine/dbal dependency to your composer.json file and run the
4// composer update command in your terminal to install the library:
5
6Schema::table('users', function (Blueprint $table) {
7 $table->dropColumn('votes');
8});
1Schema::table('users', function($table) {
2 $table->string("title");
3 $table->text("description");
4 $table->timestamps();
5});