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.
Completed
Pull Request — master (#912)
by Ahmad
05:05
created

CreateSharedAccesses   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A change() 0 8 1
1
# frozen_string_literal: true
2
3
class CreateSharedAccesses < ActiveRecord::Migration[5.2]
4
  def change
5
    create_table :shared_accesses do |t|
6
      t.belongs_to :room, foreign_key: true
7
      t.references :user, foreign_key: true
8
9
      t.timestamps
10
    end
11
  end
12
end
13