Updated

db/migrate / 20170903181738_add_locking_columns_to_archived_petitions.rb

A
8 lines of codes
1 methods
3.0 complexity/method
1 churn
3.0 complexity
0 duplications
class AddLockingColumnsToArchivedPetitions < ActiveRecord::Migration
  1. AddLockingColumnsToArchivedPetitions has no descriptive comment
def change add_column :archived_petitions, :locked_at, :datetime add_column :archived_petitions, :locked_by_id, :integer add_index :archived_petitions, :locked_by_id end end