about summary refs log tree commit diff stats
path: root/db/migrate/20180702220722_create_streams.rb
blob: bb8255e2129b8b1b14063cb7f84a5e07146135a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
class CreateStreams < ActiveRecord::Migration[5.1]
  def change
    create_table :streams do |t|
      t.string :title
      t.text :body
      t.string :slug

      t.timestamps
    end
  end
end