Sha256: dcb2aeee5552f0009099a2506a2fe25480132a6bf5b5e6799182c96b56252efb
Contents?: true
Size: 657 Bytes
Versions: 8
Compression:
Stored size: 657 Bytes
Contents
class CreateAddresses < ActiveRecord::Migration def self.up create_table "addresses", :force => true do |t| t.integer "user_id", :null => false t.string "name" t.string "line_1", :default => "", :null => false t.string "line_2" t.string "city", :default => "", :null => false t.integer "state_id", :null => false t.string "province_region" t.string "zip_postal_code" t.integer "country_id", :null => false end end def self.down drop_table :addresses end end
Version data entries
8 entries across 8 versions & 2 rubygems