Page MenuHomePhorge

20181206125616_add_tags_to_users.exs
No OneTemporary

Size
393 B
Referenced Files
None
Subscribers
None

20181206125616_add_tags_to_users.exs

# 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.AddTagsToUsers do
use Ecto.Migration
def change do
alter table(:users) do
add(:tags, {:array, :string})
end
create_if_not_exists(index(:users, [:tags], using: :gin))
end
end

File Metadata

Mime Type
text/x-ruby
Expires
Tue, Jan 20, 1:53 PM (17 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
973095
Default Alt Text
20181206125616_add_tags_to_users.exs (393 B)

Event Timeline