AddStatusToProject.change()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
1
# frozen_string_literal: true
2
3
# Add status to projects
4
class AddStatusToProject < ActiveRecord::Migration[5.1]
5
  def change
6
    change_table :projects do |t|
7
      t.column :status, :integer, default: 0
8
    end
9
  end
10
end
11