Mercurial > hg > soundsoftware-site
comparison .svn/pristine/d1/d15c9bc4de1f1d7b094ee61fb27085757eaaa6fd.svn-base @ 1464:261b3d9a4903 redmine-2.4
Update to Redmine 2.4 branch rev 12663
author | Chris Cannam |
---|---|
date | Tue, 14 Jan 2014 14:37:42 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1296:038ba2d95de8 | 1464:261b3d9a4903 |
---|---|
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 |