Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
5ea752da
Commit
5ea752da
authored
Aug 17, 2020
by
lain
Browse files
Migrations: Add an index on the `invisible` field on users.
parent
014f91c1
Pipeline
#29869
passed with stages
in 21 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
priv/repo/migrations/20200817120935_add_invisible_index_to_users.exs
0 → 100644
View file @
5ea752da
defmodule
Pleroma
.
Repo
.
Migrations
.
AddInvisibleIndexToUsers
do
use
Ecto
.
Migration
def
change
do
create
(
index
(
:users
,
[
:invisible
]))
end
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment