Class: CreateEmails
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateEmails
- Defined in:
- lib/generators/supportcenter/templates/20150923141132_create_emails.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/generators/supportcenter/templates/20150923141132_create_emails.rb', line 2 def change create_table :emails do |t| t.string :sender t.string :subject t.string :body t.datetime :send_date t. end end |