Test Setup Failed
Push — master ( 525152...2046b9 )
by Steven
01:27
created

AddDiscardToInstruments   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A change() 0 3 1
1
# frozen_string_literal: true
2
3
require './lib/shared_migration'
4
5
# Add soft delete to users table
6
class AddDiscardToInstruments < ActiveRecord::Migration[5.1]
7
  include SharedMigration
8
  
9
  def change
10
    add_discard table_name: :instruments
11
  end
12
end
13