Skip to content

Commit

Permalink
Merge pull request #147 from rowanfuchs/uuidmorph_addressable
Browse files Browse the repository at this point in the history
set addressable column as uuidMorph
  • Loading branch information
iamgergo authored Apr 25, 2021
2 parents 41858e6 + 8f6b5ca commit 5cec383
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(): void
{
Schema::create('bazar_addresses', static function (Blueprint $table): void {
$table->id();
$table->morphs('addressable');
$table->uuidMorphs('addressable');
$table->string('first_name', 60)->nullable();
$table->string('last_name', 60)->nullable();
$table->string('country', 2)->nullable();
Expand Down

0 comments on commit 5cec383

Please sign in to comment.