Sha256: 80e3ef36d9d2739b23a1d6abc2b8ca3e7af6f127d2bd8fd1f3f3ca64fbe05e6f

Contents?: true

Size: 283 Bytes

Versions: 20

Compression:

Stored size: 283 Bytes

Contents

class CreateFileDownloadStats < ActiveRecord::Migration
  def change
    create_table :file_download_stats do |t|
      t.datetime :date
      t.integer :downloads
      t.string :file_id

      t.timestamps null: false
    end
    add_index :file_download_stats, :file_id
  end
end

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
sufia-7.4.1 db/migrate/20160328222229_create_file_download_stats.rb
sufia-7.4.0 db/migrate/20160328222229_create_file_download_stats.rb
hyrax-1.0.1 db/migrate/20160328222229_create_file_download_stats.rb
hyrax-1.0.0.rc2 db/migrate/20160328222229_create_file_download_stats.rb
sufia-7.3.1 db/migrate/20160328222229_create_file_download_stats.rb
hyrax-1.0.0.rc1 db/migrate/20160328222229_create_file_download_stats.rb
sufia-7.3.0 db/migrate/20160328222229_create_file_download_stats.rb
sufia-7.3.0.rc3 db/migrate/20160328222229_create_file_download_stats.rb
sufia-7.3.0.rc2 db/migrate/20160328222229_create_file_download_stats.rb
sufia-7.3.0.rc1 db/migrate/20160328222229_create_file_download_stats.rb
test_hyrax-0.0.1.alpha db/migrate/20160328222229_create_file_download_stats.rb
sufia-7.2.0 db/migrate/20160328222229_create_file_download_stats.rb
sufia-7.1.0 db/migrate/20160328222229_create_file_download_stats.rb
sufia-7.0.0 db/migrate/20160328222229_create_file_download_stats.rb
sufia-7.0.0.rc2 db/migrate/20160328222229_create_file_download_stats.rb
sufia-7.0.0.rc1 db/migrate/20160328222229_create_file_download_stats.rb
sufia-7.0.0.beta4 db/migrate/20160328222229_create_file_download_stats.rb
sufia-7.0.0.beta3 lib/generators/sufia/templates/migrations/create_file_download_stats.rb
sufia-7.0.0.beta2 lib/generators/sufia/templates/migrations/create_file_download_stats.rb
sufia-7.0.0.beta1 lib/generators/sufia/templates/migrations/create_file_download_stats.rb