Skip to content

Commit

Permalink
dropping columns added to users table when reversing migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Lootfi committed Jun 9, 2021
1 parent 84eb635 commit cce4b2b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function up()
public function down()
{
Schema::table('users', function (Blueprint $table) {
//
$table->dropColumn('avatar');
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function up()
public function down()
{
Schema::table('users', function (Blueprint $table) {
//
$table->dropColumn('messenger_color');
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function up()
public function down()
{
Schema::table('users', function (Blueprint $table) {
//
$table->dropColumn('dark_mode');
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function up()
public function down()
{
Schema::table('users', function (Blueprint $table) {
//
$table->dropColumn('active_status');
});
}
}

0 comments on commit cce4b2b

Please sign in to comment.