parent
4ed90ec93b
commit
47722dd886
@ -0,0 +1,6 @@
|
||||
class AddIndexForHackCodes < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
HackCode.destroy_all
|
||||
add_index :hack_codes, [:hack_id, :language], unique: true
|
||||
end
|
||||
end
|
Loading…
Reference in new issue