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.change()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 14

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 14
rs 9.7
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