Skip to content

Commit

Permalink
Update 2018_03_18_071831_create_mpesa_bulk_payment_requests_table.php
Browse files Browse the repository at this point in the history
fix: there is no unique constraint matching given keys for referenced table "mpesa_bulk_payment_requests"
  • Loading branch information
wmandai committed Feb 5, 2024
1 parent 8bdb2cc commit 2634b52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function up()
{
Schema::create('mpesa_bulk_payment_requests', function (Blueprint $table) {
$table->increments('id');
$table->string('conversation_id')->index();
$table->unique('conversation_id');
$table->string('originator_conversation_id');
$table->decimal('amount', 10, 2);
$table->string('phone', 20);
Expand Down

0 comments on commit 2634b52

Please sign in to comment.