Sha256: 5356a775207b3320787edb4ecd49a471e690567680d7b01038af73005cd4c136

Contents?: true

Size: 364 Bytes

Versions: 6

Compression:

Stored size: 364 Bytes

Contents

class AddFieldsToCounterMetric < ActiveRecord::Migration[5.2]
  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

6 entries across 6 versions & 1 rubygems

Version Path
hyrax-5.0.3 .dassie/db/migrate/20230821153635_add_fields_to_counter_metric.rb
hyrax-5.0.2 .dassie/db/migrate/20230821153635_add_fields_to_counter_metric.rb
hyrax-5.0.1 .dassie/db/migrate/20230821153635_add_fields_to_counter_metric.rb
hyrax-5.0.0 .dassie/db/migrate/20230821153635_add_fields_to_counter_metric.rb
hyrax-5.0.0.rc3 .dassie/db/migrate/20230821153635_add_fields_to_counter_metric.rb
hyrax-5.0.0.rc2 .dassie/db/migrate/20230821153635_add_fields_to_counter_metric.rb