logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

20170824103029_add_timestamps_to_status_pins.rb (168B)


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