mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-30 17:59:03 +01:00
c2af138113
* Allow multiple pinned statuses to be shown and make them be ordered by pinned date * Set timestamps NOT NULL * Make single-line pinned_statuses * Spec for pinned_statuses * Remove redundant empty line
5 lines
168 B
Ruby
5 lines
168 B
Ruby
class AddTimestampsToStatusPins < ActiveRecord::Migration[5.1]
|
|
def change
|
|
add_timestamps :status_pins, null: false, default: -> { 'CURRENT_TIMESTAMP' }
|
|
end
|
|
end
|