Passed
Push — master ( 33ca92...23b088 )
by Ahmad
10:28
created

AddRoomSettingsToRoom   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A change() 0 3 1
1
# frozen_string_literal: true
2
3
class AddRoomSettingsToRoom < ActiveRecord::Migration[5.0]
4
  def change
5
    add_column :rooms, :room_settings, :string, default: "{ }"
6
  end
7
end
8