Test Setup Failed
Push — master ( 480572...f90cae )
by Steven
01:51
created

CreateDataMigrations   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 5 1
1
# frozen_string_literal: true
2
3
# Create table to hold non-destructive data migrations
4
class CreateDataMigrations < ActiveRecord::Migration[5.2]
5
  def change
6
    create_table :data_migrations do |t|
7
      t.string :version
8
    end
9
  end
10
end
11