class CreateLeads

Public Instance Methods

change() click to toggle source
# File lib/generators/leads_to_highrise/templates/migrations/create_leads.rb, line 2
def change
  create_table :leads do |t|
    t.string :name
    t.string :last_name
    t.string :email
    t.string :company
    t.string :job_title
    t.string :phone
    t.string :website

    t.timestamps
  end
end