summaryrefslogtreecommitdiffstats
path: root/db/migrate/051_add_project_status.rb
blob: 1062f855c04cf4fb2d9d17cd556363d46a5568b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: false

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