Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33103251
20181201105617_add_uui_ds_to_user_info.exs
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
377 B
Referenced Files
None
Subscribers
None
20181201105617_add_uui_ds_to_user_info.exs
View Options
# Pleroma: A lightweight social networking server
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma.Repo.Migrations.AddUUIDsToUserInfo
do
use
Ecto.Migration
def
up
do
execute
(
"update users set info = jsonb_set(info, '{\"id\"}', to_jsonb(uuid_generate_v4()))"
)
end
def
down
,
do
:
:ok
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Tue, Jan 20, 1:28 PM (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
969621
Default Alt Text
20181201105617_add_uui_ds_to_user_info.exs (377 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment