Skip to content

Commit b9f15a1

Browse files
authored
Convert user morph to nullableMorphs
1 parent 213c220 commit b9f15a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/create_wallet_plus_tables.php.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CreateWalletPlusTables extends Migration
2222

2323
Schema::create('wallets', function (Blueprint $table) {
2424
$table->bigIncrements('id');
25-
$table->morphs('user');
25+
$table->nullableMorphs('user');
2626
$table->unsignedBigInteger('wallet_type_id')->nullable();
2727
$table->bigInteger('raw_balance')->default(0);
2828
$table->timestamps();

0 commit comments

Comments
 (0)