Sha256: 83b2413a42803b25f5a0174fc9a91e4db3cba6efea2db8532d210b0b81a5bc22

Contents?: true

Size: 178 Bytes

Versions: 1

Compression:

Stored size: 178 Bytes

Contents

class CreateMessage < ActiveRecord::Migration[5.0]
  def change
    create_table :messages do |t|
      t.string :from
      t.text :message
      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hyper-model-0.6.0 examples/chat-app/db/migrate/20170319194429_create_message.rb