Sha256: e6602744ae45219b171a20638e40d5735a036af9bc157c20aa272262d5a8b99b

Contents?: true

Size: 359 Bytes

Versions: 8

Compression:

Stored size: 359 Bytes

Contents

class CreateHyraxCounterMetrics < ActiveRecord::Migration<%= migration_version %>
  def change
    create_table :hyrax_counter_metrics do |t|
      t.string :worktype
      t.string :resource_type
      t.integer :work_id
      t.date :date
      t.integer :total_item_investigations
      t.integer :total_item_requests

      t.timestamps
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 lib/generators/hyrax/templates/db/migrate/20230725222727_create_hyrax_counter_metrics.rb.erb
hyrax-5.0.4 lib/generators/hyrax/templates/db/migrate/20230725222727_create_hyrax_counter_metrics.rb.erb
hyrax-5.0.3 lib/generators/hyrax/templates/db/migrate/20230725222727_create_hyrax_counter_metrics.rb.erb
hyrax-5.0.2 lib/generators/hyrax/templates/db/migrate/20230725222727_create_hyrax_counter_metrics.rb.erb
hyrax-5.0.1 lib/generators/hyrax/templates/db/migrate/20230725222727_create_hyrax_counter_metrics.rb.erb
hyrax-5.0.0 lib/generators/hyrax/templates/db/migrate/20230725222727_create_hyrax_counter_metrics.rb.erb
hyrax-5.0.0.rc3 lib/generators/hyrax/templates/db/migrate/20230725222727_create_hyrax_counter_metrics.rb.erb
hyrax-5.0.0.rc2 lib/generators/hyrax/templates/db/migrate/20230725222727_create_hyrax_counter_metrics.rb.erb