db/migrate/20180509103201_set_root_commentable_null_constraints.decidim_comments.rb
# frozen_string_literal: true
# This migration comes from decidim_comments (originally 20170510091409)
class SetRootCommentableNullConstraints < ActiveRecord::Migration[5.0]
def change
change_column_null(:decidim_comments_comments, :decidim_root_commentable_id, false)
change_column_null(:decidim_comments_comments, :decidim_root_commentable_type, false)
end
end