Skip to content

Commit

Permalink
[ifmeorg#1737] Add resource_recommendation column on moments table
Browse files Browse the repository at this point in the history
  • Loading branch information
AlineRibeiro committed May 7, 2020
1 parent 1c61787 commit 729d114
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddResourceRecommendationsToMoments < ActiveRecord::Migration[5.2]
def change
add_column :moments, :resource_recommendations, :boolean
end
end
3 changes: 2 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2020_04_19_063936) do
ActiveRecord::Schema.define(version: 2020_05_06_222107) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
Expand Down Expand Up @@ -145,6 +145,7 @@
t.datetime "secret_share_expires_at"
t.datetime "published_at"
t.boolean "bookmarked", default: false
t.boolean "resource_recommendations"
t.index ["secret_share_identifier"], name: "index_moments_on_secret_share_identifier", unique: true
t.index ["slug"], name: "index_moments_on_slug", unique: true
end
Expand Down

0 comments on commit 729d114

Please sign in to comment.