class CreatePhcmembersproMembersBusinesses < ActiveRecord::Migration def change create_table :phcmemberspro_members_businesses do |t| t.string :mbcompanyname t.string :mbcontactname t.string :mbaddressl1 t.string :mbaddressl2 t.string :mbcity t.string :mbprovince t.string :mbcountry t.string :mbpostalcode t.string :mbphone t.string :mbcontactemail t.string :mbwebsite t.timestamps null: false t.references :main, index: true t.integer :account_id t.timestamps null: false end end end