Fix artisan migrate:reset/artisan migrate:refresh

This commit is contained in:
Valentin PRUGNAUD
2015-01-05 04:37:42 -08:00
parent 42e33c4808
commit f4ddad0721
3 changed files with 3 additions and 1 deletions
@@ -28,6 +28,7 @@ class UserIdColumnForComponents extends Migration
public function down()
{
Schema::table('components', function (Blueprint $table) {
$table->dropForeign('components_user_id_foreign');
$table->dropColumn('user_id');
});
}