Sha256: 0b12e323f6fc616d2b1f5f91ec06004c50ffeb3ad21dea62ee646f7f39783fdf

Contents?: true

Size: 285 Bytes

Versions: 8

Compression:

Stored size: 285 Bytes

Contents

class CreateDonates < ActiveRecord::Migration[4.2]
  def change
    create_table :donates do |t|
      t.integer :agent_id, :null => false
      t.integer :item_id, :null => false

      t.timestamps
    end
    add_index :donates, :agent_id
    add_index :donates, :item_id
  end
end

Version data entries

8 entries across 8 versions & 5 rubygems

Version Path
enju_purchase_request-0.3.2 spec/dummy/db/migrate/125_create_donates.rb
enju_purchase_request-0.3.1 spec/dummy/db/migrate/125_create_donates.rb
enju_loc-0.3.0 spec/dummy/db/migrate/125_create_donates.rb
enju_search_log-0.3.0.beta.1 spec/dummy/db/migrate/125_create_donates.rb
enju_purchase_request-0.3.0.beta.1 spec/dummy/db/migrate/125_create_donates.rb
enju_loc-0.3.0.beta.1 spec/dummy/db/migrate/125_create_donates.rb
enju_leaf-1.3.0.beta.2 spec/dummy/db/migrate/125_create_donates.rb
enju_manifestation_viewer-0.3.0.beta.1 spec/dummy/db/migrate/125_create_donates.rb