class AddChat

Public Instance Methods

change() click to toggle source
# File lib/templates/chat/migration-models/add_chat.rb, line 2
def change
  create_table :chats do |t|
    t.string  :name
    t.string  :last_message
    t.timestamps
  end
end