mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-19 01:59:48 -05:00
Drop potentially too-long-for-MySQL index altcha fields that we don't
need any more
This commit is contained in:
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
|
||||
Reference in new issue
Block a user