Skip to content

Commit c1e7589

Browse files
committed
remove duplicated indices
Signed-off-by: dartcafe <[email protected]>
1 parent 978f971 commit c1e7589

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/Migration/V3/TableSchema.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ abstract class TableSchema {
9696
public const UNIQUE_INDICES = [
9797
Option::TABLE => [
9898
'UNIQ_options' => ['columns' => ['poll_id', 'poll_option_hash', 'timestamp']],
99-
'UNIQ_options_bin' => ['columns' => ['poll_id', 'poll_option_hash', 'timestamp']],
10099
],
101100
Log::TABLE => [
102101
'UNIQ_unprocessed' => ['columns' => ['processed', 'poll_id', 'user_id', 'message_id']],
@@ -110,7 +109,6 @@ abstract class TableSchema {
110109
],
111110
Vote::TABLE => [
112111
'UNIQ_votes' => ['columns' => ['poll_id', 'user_id', 'vote_option_hash']],
113-
'UNIQ_votes_bin' => ['columns' => ['poll_id', 'user_id', 'vote_option_hash']],
114112
],
115113
Preferences::TABLE => [
116114
'UNIQ_preferences' => ['columns' => ['user_id']],

0 commit comments

Comments
 (0)