Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
orkhanahmadov committed Nov 11, 2020
1 parent 07d110f commit d9b778b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/migrations/yandex_checkouts_table.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class CreateYandexCheckoutsTable extends Migration
{
Schema::create(config('yandex-checkout.table_name'), function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('payable_type')->nullable();
$table->unsignedBigInteger('payable_id')->nullable();
$table->string('payable_type');
$table->unsignedBigInteger('payable_id');
$table->index(['payable_type', 'payable_id']);
$table->string('payment_id')->index()->unique();
$table->string('status')->index();
Expand Down

0 comments on commit d9b778b

Please sign in to comment.