Skip to content

Commit

Permalink
Fix integrity constraint violations
Browse files Browse the repository at this point in the history
  • Loading branch information
r-kujawa committed May 5, 2024
1 parent 8db5ebf commit 3746f13
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function up()
Schema::create('payment_types', function (Blueprint $table) {
$table->string('id')->primary();
$table->string('name');
$table->string('logo');
$table->string('logo')->default('checkoutshopper-live.adyen.com/checkoutshopper/images/logos/card.svg');
$table->timestamps();
});

Expand All @@ -34,7 +34,7 @@ public function up()

Schema::create('wallets', function (Blueprint $table) use ($usingDatabaseDriver) {
$table->bigIncrements('id');
$table->morphs('billable');
$table->nullableMorphs('billable');
$table->string('provider_id');
$table->string('account_id');
$table->string('reference');
Expand Down

0 comments on commit 3746f13

Please sign in to comment.