annotate .svn/pristine/d1/d15c9bc4de1f1d7b094ee61fb27085757eaaa6fd.svn-base @ 1298:4f746d8966dd redmine_2.3_integration

Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author Chris Cannam
date Fri, 14 Jun 2013 09:28:30 +0100
parents 622f24f53b42
children
rev   line source
Chris@1295 1 class AddSettingsUpdatedOn < ActiveRecord::Migration
Chris@1295 2 def self.up
Chris@1295 3 add_column :settings, :updated_on, :timestamp
Chris@1295 4 # set updated_on
Chris@1295 5 Setting.all.each(&:save)
Chris@1295 6 end
Chris@1295 7
Chris@1295 8 def self.down
Chris@1295 9 remove_column :settings, :updated_on
Chris@1295 10 end
Chris@1295 11 end