added gin index to json and fixed compared

This commit is contained in:
olegphenomenon 2021-11-26 15:21:23 +02:00
parent aba3448744
commit a23274143d
3 changed files with 45 additions and 15 deletions

View file

@ -0,0 +1,5 @@
class AddIndexToJsonValidationEvent < ActiveRecord::Migration[6.1]
def change
add_index :validation_events, :event_data, :using => :gin
end
end