diff --git a/db/migrate/20181101234459_disable_moderation_on_forums.rb b/db/migrate/20181101234459_disable_moderation_on_forums.rb new file mode 100644 index 00000000..d03a3813 --- /dev/null +++ b/db/migrate/20181101234459_disable_moderation_on_forums.rb @@ -0,0 +1,5 @@ +class DisableModerationOnForums < ActiveRecord::Migration[5.2] + def change + change_column_default :thredded_user_details, :moderation_state, 1 # approved + end +end