Updated

db/migrate / 20170629144129_add_email_requested_timestamps_to_archived_petitions.rb

B
8 lines of codes
1 methods
4.0 complexity/method
1 churn
4.0 complexity
18 duplications
class AddEmailRequestedTimestampsToArchivedPetitions < ActiveRecord::Migration
  1. AddEmailRequestedTimestampsToArchivedPetitions has no descriptive comment
def change
  1. Similar code found in 3 nodes Locations: 0 1 2
add_column :archived_petitions, :email_requested_for_government_response_at, :datetime add_column :archived_petitions, :email_requested_for_debate_scheduled_at, :datetime add_column :archived_petitions, :email_requested_for_debate_outcome_at, :datetime add_column :archived_petitions, :email_requested_for_petition_email_at, :datetime end end