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