1
0
mirror of https://github.com/glitch-soc/mastodon.git synced 2025-03-02 06:23:47 -05:00
tootlab-mastodon/db/migrate/20170824103029_add_timestamps_to_status_pins.rb

8 lines
199 B
Ruby

# frozen_string_literal: true
class AddTimestampsToStatusPins < ActiveRecord::Migration[5.1]
def change
add_timestamps :status_pins, null: false, default: -> { 'CURRENT_TIMESTAMP' }
end
end