eBooru/db/migrate/20220516103329_post_comment_locked.rb

10 lines
230 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
2022-05-16 08:20:11 -04:00
class PostCommentLocked < ActiveRecord::Migration[6.1]
def change
Post.without_timeout do
add_column :posts, :is_comment_disabled, :boolean, null: false, default: false
2022-05-16 08:20:11 -04:00
end
end
end