You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
332 B
15 lines
332 B
5 years ago
|
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
|