about summary refs log tree commit diff
path: root/db/migrate/20170824103029_add_timestamps_to_status_pins.rb
blob: 09f0fbeaf27202ea12b73ccf1d2c2517dde08727 (plain) (blame)
1
2
3
4
5
class AddTimestampsToStatusPins < ActiveRecord::Migration[5.1]
  def change
    add_timestamps :status_pins, null: false, default: -> { 'CURRENT_TIMESTAMP' }
  end
end