annotate .svn/pristine/d1/d15c9bc4de1f1d7b094ee61fb27085757eaaa6fd.svn-base @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents 261b3d9a4903
children
rev   line source
Chris@1464 1 class AddSettingsUpdatedOn < ActiveRecord::Migration
Chris@1464 2 def self.up
Chris@1464 3 add_column :settings, :updated_on, :timestamp
Chris@1464 4 # set updated_on
Chris@1464 5 Setting.all.each(&:save)
Chris@1464 6 end
Chris@1464 7
Chris@1464 8 def self.down
Chris@1464 9 remove_column :settings, :updated_on
Chris@1464 10 end
Chris@1464 11 end