summaryrefslogtreecommitdiffstats
path: root/db/migrate/20220714093010_add_journal_updated_by.rb
blob: 02bf65e54a86aae40a68b0c66608f497b86f342f (plain)
1
2
3
4
5
6
7
8
9
class AddJournalUpdatedBy < ActiveRecord::Migration[5.2]
  def up
    add_column :journals, :updated_by_id, :integer, :default => nil, :after => :updated_on
  end

  def down
    remove_column :journals, :updated_by_id
  end
end