Skip to content

Commit 72539c5

Browse files
committed
fix(migration): default value
1 parent b030fb4 commit 72539c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

database/migrations/model/Version20251106013928.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function up(Schema $schema): void
3535
$builder = new Builder($schema);
3636
if($schema->hasTable("PaymentGatewayProfile") && !$builder->hasColumn("PaymentGatewayProfile", "ExternalId")) {
3737
$builder->table("PaymentGatewayProfile", function (Table $table) {
38-
$table->string("ExternalId", )->setNotnull(false)->setDefault('NULL');
38+
$table->string("ExternalId", )->setNotnull(false)->setDefault(null);
3939
$table->unique(["ExternalId"], "PaymentGatewayProfile_ExternalId_Unique");
4040
});
4141
}

0 commit comments

Comments
 (0)