Class: CreatePmMails

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/postman_pat/templates/create_pm_mails_migration.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



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.timestamps
  end
end