Mercurial > hg > soundsoftware-site
comparison .svn/pristine/d1/d15c9bc4de1f1d7b094ee61fb27085757eaaa6fd.svn-base @ 1295:622f24f53b42 redmine-2.3
Update to Redmine SVN revision 11972 on 2.3-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:02:21 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1294:3e4c3460b6ca | 1295:622f24f53b42 |
---|---|
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 |