From e741e4d72d5ce04eaedd2a07376d33b3ec9f87ea Mon Sep 17 00:00:00 2001 From: James Smith Date: Wed, 7 Oct 2026 23:22:00 +0100 Subject: [PATCH] Drop potentially too-long-for-MySQL index altcha fields that we don't need any more --- db/migrate/20250609210440_create_altcha_solutions.rb | 2 -- db/migrate/20260604160600_drop_altcha_solutions.rb | 5 ----- 2 files changed, 7 deletions(-) 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