20170824103029_add_timestamps_to_status_pins.rb 168 B

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