summaryrefslogtreecommitdiffstats
path: root/db/migrate/051_add_project_status.rb
blob: fba36d237497b7392fb4cc271df11679d21198e9 (plain)
1
2
3
4
5
6
7
8
9
class AddProjectStatus < ActiveRecord::Migration
  def self.up
    add_column :projects, :status, :integer, :default => 1, :null => false
  end

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