added migration and new json field for store domain statuses history

This commit is contained in:
Oleg Hasjanov 2021-07-08 16:20:13 +03:00
parent ded22685c9
commit fb352fb718
2 changed files with 17 additions and 2 deletions

View file

@ -0,0 +1,6 @@
class AddJsonStatusesHistoryFieldToDomain < ActiveRecord::Migration[6.1]
def change
add_column :domains, :json_statuses_history, :jsonb
add_index :domains, :json_statuses_history, using: :gin
end
end