diff --git a/db/migrate/20161227003428_add_sticky_to_comments.rb b/db/migrate/20161227003428_add_sticky_to_comments.rb index 124da10af..e85476383 100644 --- a/db/migrate/20161227003428_add_sticky_to_comments.rb +++ b/db/migrate/20161227003428_add_sticky_to_comments.rb @@ -1,5 +1,6 @@ class AddStickyToComments < ActiveRecord::Migration def change + execute "set statement_timeout = 0" add_column :comments, :is_sticky, :boolean, null: false, default: false end end