AddPasswordDigestToRooms.change()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3

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 3
rs 10
1
# frozen_string_literal: true
2
3
class AddPasswordDigestToRooms < ActiveRecord::Migration[5.0]
4
  def change
5
    add_column :rooms, :access_code, :string, null: true, default: nil
6
  end
7
end
8