mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
added migration and new json field for store domain statuses history
This commit is contained in:
parent
ded22685c9
commit
fb352fb718
2 changed files with 17 additions and 2 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue