20170824103029_add_timestamps_to_status_pins.rb 199 B

1234567
  1. # frozen_string_literal: true
  2. class AddTimestampsToStatusPins < ActiveRecord::Migration[5.1]
  3. def change
  4. add_timestamps :status_pins, null: false, default: -> { 'CURRENT_TIMESTAMP' }
  5. end
  6. end