Mercurial > hg > soundsoftware-site
annotate db/migrate/.svn/text-base/20090704172358_add_member_roles_inherited_from.rb.svn-base @ 437:102056ec2de9 bug_169
Introduce a method on the sys controller to clear a repository cache; use a file in the mirror dir to notify the Ruby external repo script that it needs to call it
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Mon, 06 Jun 2011 13:31:44 +0100 |
parents | 513646585e45 |
children |
rev | line source |
---|---|
Chris@0 | 1 class AddMemberRolesInheritedFrom < ActiveRecord::Migration |
Chris@0 | 2 def self.up |
Chris@0 | 3 add_column :member_roles, :inherited_from, :integer |
Chris@0 | 4 end |
Chris@0 | 5 |
Chris@0 | 6 def self.down |
Chris@0 | 7 remove_column :member_roles, :inherited_from |
Chris@0 | 8 end |
Chris@0 | 9 end |