Skip to content

Commit

Permalink
add migration rollback method
Browse files Browse the repository at this point in the history
  • Loading branch information
dtorras committed Apr 4, 2024
1 parent 091ee06 commit 06a4a48
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions database/migrations/create_redsys_payments_table.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,11 @@ return new class extends Migration
$table->timestamps();
});
}

public function down(): void
{
Schema::dropIfExists('redsys_requests');
Schema::dropIfExists('redsys_cards');
Schema::dropIfExists('redsys_notification_logs');
}
};

0 comments on commit 06a4a48

Please sign in to comment.