7 lines
196 B
Ruby
7 lines
196 B
Ruby
class AddStickyToComments < ActiveRecord::Migration[4.2]
|
|
def change
|
|
execute "set statement_timeout = 0"
|
|
add_column :comments, :is_sticky, :boolean, null: false, default: false
|
|
end
|
|
end
|