Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 5682e8d

Browse files
committed
loooooooong
1 parent f42af99 commit 5682e8d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

db/migrate/20250508183456_create_inferred_concepts_topics.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ def change
88
t.timestamps
99
end
1010

11-
add_index :inferred_concepts_topics, %i[topic_id inferred_concept_id], unique: true
11+
add_index :inferred_concepts_topics,
12+
%i[topic_id inferred_concept_id],
13+
unique: true,
14+
name: "index_inferred_concepts_topics_uniqueness"
15+
1216
add_index :inferred_concepts_topics, :inferred_concept_id
1317
end
1418
end

db/migrate/20250509000001_create_inferred_concepts_posts.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ def change
88
t.timestamps
99
end
1010

11-
add_index :inferred_concepts_posts, %i[post_id inferred_concept_id], unique: true
11+
add_index :inferred_concepts_posts,
12+
%i[post_id inferred_concept_id],
13+
unique: true,
14+
name: "index_inferred_concepts_posts_uniqueness"
15+
1216
add_index :inferred_concepts_posts, :inferred_concept_id
1317
end
1418
end

0 commit comments

Comments
 (0)