scinote-web/db/migrate/20191210103004_add_metadata_to_repository_column.rb
2019-12-10 12:02:08 +01:00

7 lines
201 B
Ruby

# frozen_string_literal: true
class AddMetadataToRepositoryColumn < ActiveRecord::Migration[6.0]
def change
add_column :repository_columns, :metadata, :jsonb, default: {}, null: false
end
end