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

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