mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 06:28:59 +00:00
8 lines
199 B
Ruby
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
|