Test Setup Failed
Push — master ( cf3cc0...5513c4 )
by Steven
01:21
created

AddDiscardToItems.change()   A

Complexity

Conditions 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
c 1
b 0
f 1
dl 0
loc 3
rs 10
1
# frozen_string_literal: true
2
3
require './lib/shared_migration'
4
5
# Add soft delete to users table
6
class AddDiscardToItems < ActiveRecord::Migration[5.1]
7
  include SharedMigration
8
  
9
  def change
10
    add_discard table_name: :items
11
  end
12
end
13