Class: CreateLeads
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateLeads
- Defined in:
- lib/generators/leads_to_highrise/templates/migrations/create_leads.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 |
# 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. end end |