dev_tj
parent
ee34443945
commit
b4d6c00382
@ -1,6 +1,6 @@
|
||||
class AddIndexForSubjectRecords < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
remove_index :subject_records, :subject_id
|
||||
# remove_index :subject_records, :subject_id
|
||||
add_index :subject_records, :subject_id, unique: true
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in new issue