rails-stall/stall

View on GitHub
db/migrate/20160122143746_create_stall_addresses.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateStallAddresses < ActiveRecord::Migration
  def change
    create_table :stall_addresses do |t|
      t.integer    :civility
      t.string     :first_name
      t.string     :last_name
      t.text       :address
      t.text       :address_details
      t.string     :zip
      t.string     :city
      t.string     :country
      t.string     :phone

      t.timestamps null: false
    end
  end
end