Sha256: 8b8a52585af14197e9213c46225965599ea509310b229457f90fc76947ab1394

Contents?: true

Size: 438 Bytes

Versions: 3

Compression:

Stored size: 438 Bytes

Contents

class AddAddressIn4FeildsVendor < ActiveRecord::Migration
  def change
    remove_column :vendors, :address, :text
    remove_column :vendors, :phone, :integer
    add_column :vendors, :cell_number, :integer
    add_column :vendors, :office_number, :integer
    add_column :vendors, :street, :string
    add_column :vendors, :city, :string
    add_column :vendors, :state, :string
    add_column :vendors, :postal_code, :integer
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20150810110136_add_address_in_4_feilds_vendor.rb
pshq_engine-0.1.5 db/migrate/20150810110136_add_address_in_4_feilds_vendor.rb
pshq_engine-0.0.1 db/migrate/20150810110136_add_address_in_4_feilds_vendor.rb