Sha256: a7802e2ffcadc36d399c0e9500552dcef0e08cd4934d1482c23fa9911837441a

Contents?: true

Size: 401 Bytes

Versions: 2

Compression:

Stored size: 401 Bytes

Contents

class CreateGringottsDeliveries < ActiveRecord::Migration
  def change
    create_table :gringotts_deliveries do |t|
      t.integer :vault_id,       null: false
      t.integer :code_id,        null: false
      t.string  :strategy_class, null: false
      t.string  :phone_number,   null: false
      t.timestamps
    end
    
    add_index :gringotts_deliveries, :vault_id, unique: false
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gringotts-0.6.7 db/migrate/20131103185014_create_gringotts_deliveries.rb
gringotts-0.6.5 db/migrate/20131103185014_create_gringotts_deliveries.rb