Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F162780
20190123092341_users_add_is_admin_index.exs
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
383 B
Referenced Files
None
Subscribers
None
20190123092341_users_add_is_admin_index.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.UsersAddIsAdminIndex
do
use
Ecto.Migration
def
change
do
create_if_not_exists
(
index
(
:users
,
[
"(info->'is_admin')"
],
name
:
:users_is_admin_index
,
using
:
:gin
)
)
end
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Fri, Feb 21, 6:12 PM (13 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
66857
Default Alt Text
20190123092341_users_add_is_admin_index.exs (383 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment