gab-social/db/migrate/20170824103029_add_timestam...

6 lines
168 B
Ruby
Raw Normal View History

2019-07-02 08:10:25 +01:00
class AddTimestampsToStatusPins < ActiveRecord::Migration[5.1]
def change
add_timestamps :status_pins, null: false, default: -> { 'CURRENT_TIMESTAMP' }
end
end