summaryrefslogtreecommitdiffstats
path: root/db/migrate/20120930112914_add_journals_private_notes.rb
blob: 0a25fd59e0f234e0977ffed1187d9fcea0778729 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: false

class AddJournalsPrivateNotes < ActiveRecord::Migration[4.2]
  def up
    add_column :journals, :private_notes, :boolean, :default => false, :null => false
  end

  def down
    remove_column :journals, :private_notes
  end
end