Mercurial > hg > soundsoftware-site
comparison .svn/pristine/a3/a3b9e1f5db2062f981afc156975b07fe4b88affe.svn-base @ 926:b73a59a6acbd luisf
Merge from cannam_integration
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 11 May 2012 16:10:11 +0100 |
parents | cbb26bc654de |
children |
comparison
equal
deleted
inserted
replaced
925:5bf2b9fac683 | 926:b73a59a6acbd |
---|---|
1 class AddSettingsUpdatedOn < ActiveRecord::Migration | |
2 def self.up | |
3 add_column :settings, :updated_on, :timestamp | |
4 # set updated_on | |
5 Setting.find(:all).each(&:save) | |
6 end | |
7 | |
8 def self.down | |
9 remove_column :settings, :updated_on | |
10 end | |
11 end |