add statement tiemout to migration

This commit is contained in:
Albert Yi
2016-12-28 15:53:04 -08:00
parent 0ea7d78584
commit 811fa7508b

View File

@@ -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