Drop potentially too-long-for-MySQL index altcha fields that we don't

need any more
This commit is contained in:
James Smith committed 2026-10-07 23:22:00 +01:00
1 parent f469a2d5f2
commit e741e4d72d
2 files changed
-7

No files matched your search

@@ -9,7 +9,5 @@ class CreateAltchaSolutions < ActiveRecord::Migration[8.0]
t.timestamps
end
add_index :altcha_solutions, [:algorithm, :challenge, :salt, :signature, :number], unique: true, name: "index_altcha_solutions"
end
end
@@ -13,10 +13,5 @@ class DropAltchaSolutions < ActiveRecord::Migration[8.0]
t.timestamps
end
add_index :altcha_solutions,
[:algorithm, :challenge, :salt, :signature, :number],
unique: true,
name: "index_altcha_solutions"
end
end