Sha256: 282eed02d50f1aebee3de47aa6ceef42bd74fbbd7fdce5b4657cd031adb63923

Contents?: true

Size: 265 Bytes

Versions: 8

Compression:

Stored size: 265 Bytes

Contents

class CreateAddresses < ActiveRecord::Migration
  def change
    create_table :addresses do |t|
      t.string :street
      t.string :city
      t.string :country
      t.text :description
      t.references :user

      t.timestamps null: false
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
strong_form-0.0.9 spec/dummy/db/migrate/20150626104120_create_addresses.rb
strong_form-0.0.8 spec/dummy/db/migrate/20150626104120_create_addresses.rb
strong_form-0.0.6 spec/dummy/db/migrate/20150626104120_create_addresses.rb
strong_form-0.0.5 spec/dummy/db/migrate/20150626104120_create_addresses.rb
strong_form-0.0.4 spec/dummy/db/migrate/20150626104120_create_addresses.rb
strong_form-0.0.3 spec/dummy/db/migrate/20150626104120_create_addresses.rb
strong_form-0.0.2 spec/dummy/db/migrate/20150626104120_create_addresses.rb
strong_form-0.0.1 spec/dummy/db/migrate/20150626104120_create_addresses.rb