Skip to content

Commit

Permalink
Merge pull request #676 from Autosde/add_capabilities_to_jsonb
Browse files Browse the repository at this point in the history
Add capability values schema as jsonb field to storage models
  • Loading branch information
agrare committed Dec 6, 2022
2 parents 393cde1 + 32c88ec commit b8407af
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
class AddCapabilitiesToPhysicalStorageModels < ActiveRecord::Migration[6.1]
def change
add_column :physical_storage_families, :capabilities, :jsonb, :default => {}
add_column :physical_storages, :capabilities, :jsonb, :default => {}
add_column :storage_resources, :capabilities, :jsonb, :default => {}
add_column :storage_services, :capabilities, :jsonb, :default => {}
end
end

0 comments on commit b8407af

Please sign in to comment.