Class: CreatePmMails
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreatePmMails
- Defined in:
- lib/generators/postman_pat/templates/create_pm_mails_migration.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/generators/postman_pat/templates/create_pm_mails_migration.rb', line 2 def change create_table :pm_mails do |t| t.integer :recipient_id t.integer :pm_message_id t.string :aasm_state t. end end |