Sha256: bcf2cf66c73708bc17f44d218b1ab618b54a9bf2aa4a65fdaf3f4c826087fca0
Contents?: true
Size: 383 Bytes
Versions: 5
Compression:
Stored size: 383 Bytes
Contents
class AddFieldsToCounterMetric < ActiveRecord::Migration<%= migration_version %> def change add_column :hyrax_counter_metrics, :title, :string add_column :hyrax_counter_metrics, :year_of_publication, :integer, index: true add_column :hyrax_counter_metrics, :publisher, :string, index: true add_column :hyrax_counter_metrics, :author, :string, index: true end end
Version data entries
5 entries across 5 versions & 1 rubygems