Skip to content

Commit c312ce3

Browse files
committed
Add is_starred column for stories table
1 parent 0fd2f30 commit c312ce3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ GEM
7676
multi_json (1.7.3)
7777
nokogiri (1.5.9)
7878
pg (0.15.1)
79-
pry (0.9.12.1)
79+
pry (0.9.12.2)
8080
coderay (~> 1.0.5)
8181
method_source (~> 0.8)
8282
slop (~> 3.4)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class AddIsStarredStatusForStories < ActiveRecord::Migration
2+
def change
3+
add_column :stories, :is_starred, :boolean, default: false
4+
end
5+
end

0 commit comments

Comments
 (0)