chore: try removing the index and then readding it so it gets created in

the host app
This commit is contained in:
Nelson Jovel 2024-02-09 15:52:42 -08:00
parent d9ff6252b6
commit 2cf8ddda69
3 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ class CreateDashboardAcademicYears < ActiveRecord::Migration[7.1]
t.timestamps
end
add_index :dashboard_academic_years, :range, name: "dashboard_range", unique: true
remove_index :dashboard_academic_years, :range
add_index :dashboard_academic_years, :range, unique: true
end
end