Class: CreatePmMessages
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreatePmMessages
- Defined in:
- lib/generators/postman_pat/templates/create_pm_messages_migration.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 |
# File 'lib/generators/postman_pat/templates/create_pm_messages_migration.rb', line 2 def change create_table :pm_messages do |t| t.integer :author_id t.integer :parent_id t.string :subject t.text :message t. end end |