view db/migrate/20110331152140_add_has_welcome_page_to_projects.rb @ 1478:5ca1f4a47171 bibplugin_db_migrations

Close obsolete branch bibplugin_db_migrations
author Chris Cannam
date Fri, 30 Nov 2012 14:40:50 +0000
parents dde1d4de8b32
children
line wrap: on
line source
class AddHasWelcomePageToProjects < ActiveRecord::Migration
  def self.up
    add_column :projects, :has_welcome_page, :boolean
  end

  def self.down
    remove_column :projects, :has_welcome_page
  end
end