mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-11 10:33:09 +00:00
15 lines
332 B
Elixir
15 lines
332 B
Elixir
defmodule Pleroma.Repo.Migrations.DropUsersFollowing do
|
|
use Ecto.Migration
|
|
|
|
@disable_ddl_transaction true
|
|
@disable_migration_lock true
|
|
|
|
def change do
|
|
drop(index(:users, [:following], concurrently: true, using: :gin))
|
|
|
|
alter table(:users) do
|
|
remove(:following, {:array, :string}, default: [])
|
|
end
|
|
end
|
|
end
|