Mercurial > hg > soundsoftware-site
comparison .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 |
comparison
equal
deleted
inserted
replaced
1297:0a574315af3e | 1298:4f746d8966dd |
---|---|
1 class AddSettingsUpdatedOn < ActiveRecord::Migration | |
2 def self.up | |
3 add_column :settings, :updated_on, :timestamp | |
4 # set updated_on | |
5 Setting.all.each(&:save) | |
6 end | |
7 | |
8 def self.down | |
9 remove_column :settings, :updated_on | |
10 end | |
11 end |