Sha256: a0d5a01f5b9a3acc37eee7cb50bd9ed75f13c557c055794d2914ec3340699ae2

Contents?: true

Size: 578 Bytes

Versions: 15

Compression:

Stored size: 578 Bytes

Contents

class CreateProxyDepositRequests < ActiveRecord::Migration[4.2]
  def change
    create_table :proxy_deposit_requests do |t|
      t.string :generic_file_id, null: false
      t.references :sending_user, null: false
      t.references :receiving_user, null: false
      t.datetime :fulfillment_date
      t.string :status, null: false, default: 'pending'
      t.text :sender_comment
      t.text :receiver_comment
      t.timestamps null: false
    end
    add_index :proxy_deposit_requests, :receiving_user_id
    add_index :proxy_deposit_requests, :sending_user_id
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hyrax-1.1.1 db/migrate/20160328222227_create_proxy_deposit_requests.rb
hyrax-1.1.0 db/migrate/20160328222227_create_proxy_deposit_requests.rb
hyrax-2.0.0 db/migrate/20160328222227_create_proxy_deposit_requests.rb
hyrax-2.0.0.rc3 db/migrate/20160328222227_create_proxy_deposit_requests.rb
hyrax-2.0.0.rc2 db/migrate/20160328222227_create_proxy_deposit_requests.rb
hyrax-2.0.0.rc1 db/migrate/20160328222227_create_proxy_deposit_requests.rb
hyrax-1.0.5 db/migrate/20160328222227_create_proxy_deposit_requests.rb
hyrax-2.0.0.beta5 db/migrate/20160328222227_create_proxy_deposit_requests.rb
hyrax-2.0.0.beta4 db/migrate/20160328222227_create_proxy_deposit_requests.rb
hyrax-2.0.0.beta3 db/migrate/20160328222227_create_proxy_deposit_requests.rb
hyrax-2.0.0.beta2 db/migrate/20160328222227_create_proxy_deposit_requests.rb
hyrax-2.0.0.beta1 db/migrate/20160328222227_create_proxy_deposit_requests.rb
hyrax-1.0.4 db/migrate/20160328222227_create_proxy_deposit_requests.rb
hyrax-1.0.3 db/migrate/20160328222227_create_proxy_deposit_requests.rb
hyrax-1.0.2 db/migrate/20160328222227_create_proxy_deposit_requests.rb