Sha256: 2439ce59005c5376e3a3198e9b47d30e75ddf8a3a6ffa7043735b4ea4bc34681

Contents?: true

Size: 298 Bytes

Versions: 64

Compression:

Stored size: 298 Bytes

Contents

class CreateUploadedFiles < ActiveRecord::Migration<%= migration_version %>
  def change
    create_table :uploaded_files do |t|
      t.string :file
      t.references :user, index: true, foreign_key: true
      t.string :file_set_uri, index: true
      t.timestamps null: false
    end
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
hyrax-5.0.1 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-5.0.0 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-5.0.0.rc3 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-5.0.0.rc2 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-5.0.0.rc1 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-3.6.0 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-4.0.0 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-4.0.0.rc3 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-4.0.0.rc2 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-4.0.0.rc1 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-3.5.0 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-4.0.0.beta2 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-3.4.2 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-4.0.0.beta1 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-3.4.1 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-3.4.0 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-3.3.0 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-3.2.0 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-2.9.6 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb
hyrax-3.1.0 lib/generators/hyrax/templates/db/migrate/20160401142419_create_uploaded_files.rb.erb