Updated

db/migrate / 20190414081712_add_form_token_to_signatures.rb

A
13 lines of codes
2 methods
2.3 complexity/method
1 churn
4.65 complexity
0 duplications
class AddFormTokenToSignatures < ActiveRecord::Migration
  1. AddFormTokenToSignatures has no descriptive comment
def up unless column_exists?(:signatures, :form_token) add_column :signatures, :form_token, :string end end def down if column_exists?(:signatures, :form_token) remove_column :signatures, :form_token end end end