master
1class CreateTutorials < ActiveRecord::Migration
2 def change
3 create_table :tutorials do |t|
4 t.string :heading
5 t.text :description
6 t.string :url
7 t.integer :user_id
8
9 t.timestamps
10 end
11 end
12end