Class: CreateConversations
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateConversations
- Defined in:
- lib/generators/conversations/templates/20120105153739_create_conversations.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/generators/conversations/templates/20120105153739_create_conversations.rb', line 2 def change create_table :conversations do |t| t.string :subject t. end end |