scinote-web/db/migrate/20191210103004_add_metadata_to_repository_column.rb

8 lines
201 B
Ruby
Raw Normal View History

2019-12-10 19:02:08 +08:00
# frozen_string_literal: true
class AddMetadataToRepositoryColumn < ActiveRecord::Migration[6.0]
def change
add_column :repository_columns, :metadata, :jsonb, default: {}, null: false
end
end