Updated

db/migrate / 20190413170435_add_form_requested_at_to_signatures.rb

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