mirror of
https://github.com/internetee/registry.git
synced 2025-05-28 11:11:11 +02:00
Story#119627029 - more efficient legal doc search by checksum
This commit is contained in:
parent
16ff42a5a5
commit
952d15d742
2 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,6 @@
|
|||
class AddHashToLegalDoc < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :legal_documents, :checksum, :text
|
||||
add_column :legal_documents, :checksum, :string
|
||||
add_index :legal_documents, :checksum
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue