about summary refs log tree commit diff stats
path: root/db/migrate/20180702221133_create_updates.rb
blob: 05cc35afa41df8f0f80828944b857d665a801aef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
class CreateUpdates < ActiveRecord::Migration[5.1]
  def change
    create_table :updates do |t|
      t.references :stream, foreign_key: true
      t.text :body

      t.timestamps
    end
  end
end