Skip to content

Commit e784a15

Browse files
Chris ZhuChris Zhu
authored andcommitted
Merge branch 'main' into chriszhu__github_app
2 parents b5da464 + ddef1a7 commit e784a15

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

app/models/project.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
# Indexes
2121
#
2222
# index_projects_on_cluster_id (cluster_id)
23-
# index_projects_on_name (name) UNIQUE
2423
#
2524
# Foreign Keys
2625
#
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class DropProjectUniqueness < ActiveRecord::Migration[7.2]
2+
def change
3+
remove_index :projects, :name
4+
end
5+
end

db/schema.rb

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec/factories/projects.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
# Indexes
2121
#
2222
# index_projects_on_cluster_id (cluster_id)
23-
# index_projects_on_name (name) UNIQUE
2423
#
2524
# Foreign Keys
2625
#

spec/models/project_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
# Indexes
2121
#
2222
# index_projects_on_cluster_id (cluster_id)
23-
# index_projects_on_name (name) UNIQUE
2423
#
2524
# Foreign Keys
2625
#

0 commit comments

Comments
 (0)