Skip to content

Commit

Permalink
Add name for unique result #25
Browse files Browse the repository at this point in the history
  • Loading branch information
drewroberts authored Mar 19, 2021
1 parent d9e22e7 commit a7253be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function up()

// Don't need timestamps since can use created_at timestamp of the ranking class

$table->unique(['ranking_id', 'type', 'position']);
$table->unique(['ranking_id', 'type', 'position'], 'result_unique');
});
}
}

0 comments on commit a7253be

Please sign in to comment.