Commit e156d9fc13be44c05953fb5324c68e4b35913383
1 parent
585fee1b
Exists in
ratings_minor_fixes
and in
3 other branches
Avoid raise if body is nil
Showing
2 changed files
with
4 additions
and
1 deletions
Show diff stats
app/views/content_viewer/blog_page.html.erb
db/schema.rb
@@ -289,8 +289,11 @@ ActiveRecord::Schema.define(version: 20160422163123) do | @@ -289,8 +289,11 @@ ActiveRecord::Schema.define(version: 20160422163123) do | ||
289 | t.string "user_agent" | 289 | t.string "user_agent" |
290 | t.string "referrer" | 290 | t.string "referrer" |
291 | t.text "settings" | 291 | t.text "settings" |
292 | + t.integer "paragraph_id" | ||
293 | + t.string "paragraph_uuid" | ||
292 | end | 294 | end |
293 | 295 | ||
296 | + add_index "comments", ["paragraph_uuid"], name: "index_comments_on_paragraph_uuid", using: :btree | ||
294 | add_index "comments", ["source_id", "spam"], name: "index_comments_on_source_id_and_spam", using: :btree | 297 | add_index "comments", ["source_id", "spam"], name: "index_comments_on_source_id_and_spam", using: :btree |
295 | 298 | ||
296 | create_table "contact_lists", force: :cascade do |t| | 299 | create_table "contact_lists", force: :cascade do |t| |