view db/migrate/20110412065600_add_issues_is_private.rb @ 1385:bfef1bf3bedd luisf

Correctly renders the title of an the activities#index view. Fixes Issue #750.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 20 Sep 2013 19:54:06 +0100
parents cbce1fd3b1b7
children
line wrap: on
line source
class AddIssuesIsPrivate < ActiveRecord::Migration
  def self.up
    add_column :issues, :is_private, :boolean, :default => false, :null => false
  end

  def self.down
    remove_column :issues, :is_private
  end
end