Sha256: 53a9f6a45d2543ff287ac571f7c5555af5a84231428cb0d418e9fa778c9dd759

Contents?: true

Size: 299 Bytes

Versions: 64

Compression:

Stored size: 299 Bytes

Contents

class CreateWorkViewStats < ActiveRecord::Migration<%= migration_version %>
  def change
    create_table :work_view_stats do |t|
      t.datetime :date
      t.integer  :work_views
      t.string   :work_id

      t.timestamps null: false
    end
    add_index :work_view_stats, :work_id
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
hyrax-2.5.0 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-3.0.0.pre.beta2 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.4.1 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-3.0.0.pre.beta1 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.4.0 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.3.3 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.3.2 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.3.1 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.3.0 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.0.3 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.2.4 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.2.3 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.2.2 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.2.1 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.2.0 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.1.0 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.1.0.rc4 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.1.0.rc3 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.1.0.rc2 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb
hyrax-2.1.0.rc1 lib/generators/hyrax/templates/db/migrate/20160328222232_create_work_view_stats.rb.erb