1 class AddVisibleToDiaries < ActiveRecord::Migration[5.0]
3 add_column :diary_entries, :visible, :boolean, :null => false, :default => true
4 add_column :diary_comments, :visible, :boolean, :null => false, :default => true
8 remove_column :diary_comments, :visible
9 remove_column :diary_entries, :visible