annotate .svn/pristine/d1/d15c9bc4de1f1d7b094ee61fb27085757eaaa6fd.svn-base @ 1532:a0460a3d154f cannam

Toward getting the user id for a committer by name as well as login/email
author Chris Cannam
date Wed, 11 Feb 2015 13:13:03 +0000
parents 261b3d9a4903
children
rev   line source
Chris@1464 1 class AddSettingsUpdatedOn < ActiveRecord::Migration
Chris@1464 2 def self.up
Chris@1464 3 add_column :settings, :updated_on, :timestamp
Chris@1464 4 # set updated_on
Chris@1464 5 Setting.all.each(&:save)
Chris@1464 6 end
Chris@1464 7
Chris@1464 8 def self.down
Chris@1464 9 remove_column :settings, :updated_on
Chris@1464 10 end
Chris@1464 11 end