GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

CreateSettings   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 16
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A change() 0 14 1
1
# frozen_string_literal: true
2
3
class CreateSettings < ActiveRecord::Migration[5.0]
4
  def change
5
    create_table :settings do |t|
6
      t.string "provider", null: false
7
      t.timestamps
8
    end
9
10
    create_table :features do |t|
11
      t.belongs_to :setting
12
      t.string "name", null: false
13
      t.string "value"
14
      t.boolean "enabled", default: false
15
      t.timestamps
16
    end
17
  end
18
end
19