diff --git a/db/migrate/20250609210440_create_altcha_solutions.rb b/db/migrate/20250609210440_create_altcha_solutions.rb index de1beadf9..f9d0666b6 100644 --- a/db/migrate/20250609210440_create_altcha_solutions.rb +++ b/db/migrate/20250609210440_create_altcha_solutions.rb @@ -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 diff --git a/db/migrate/20260604160600_drop_altcha_solutions.rb b/db/migrate/20260604160600_drop_altcha_solutions.rb index 02d47b598..8d1c32547 100644 --- a/db/migrate/20260604160600_drop_altcha_solutions.rb +++ b/db/migrate/20260604160600_drop_altcha_solutions.rb @@ -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