Skip to content

Commit

Permalink
Merge pull request #97 from luceos/patch-1
Browse files Browse the repository at this point in the history
fix: unique key cannot be created with TEXT column
  • Loading branch information
jaspervriends authored Oct 18, 2024
2 parents 28dae84 + 31d5c4d commit da3cb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/2023_02_01_create_seo_meta_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

// Object information
$table->integer('object_id');
$table->text('object_type');
$table->string('object_type', 65535);

// Make the combination Object ID and Object Type unique
$table->unique(['object_id', 'object_type']);
Expand Down

0 comments on commit da3cb93

Please sign in to comment.