Mercurial > hg > soundsoftware-site
annotate db/migrate/20110331152140_add_has_welcome_page_to_projects.rb @ 527:af95d9a7507a feature_36
fixed wrong institution name retrieval for users with no ssamr_user_details
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 25 Jul 2011 14:57:48 +0100 |
parents | dde1d4de8b32 |
children |
rev | line source |
---|---|
chris@353 | 1 class AddHasWelcomePageToProjects < ActiveRecord::Migration |
chris@353 | 2 def self.up |
chris@353 | 3 add_column :projects, :has_welcome_page, :boolean |
chris@353 | 4 end |
chris@353 | 5 |
chris@353 | 6 def self.down |
chris@353 | 7 remove_column :projects, :has_welcome_page |
chris@353 | 8 end |
chris@353 | 9 end |