mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-20 13:23:38 +12:00
20 lines
323 B
Elixir
20 lines
323 B
Elixir
|
defmodule AshHq.Repo.Migrations.RemoveSearchIndexes do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
@tables [
|
||
|
:guides,
|
||
|
:library_versions,
|
||
|
:options,
|
||
|
:dsls,
|
||
|
:extensions,
|
||
|
:functions,
|
||
|
:modules
|
||
|
]
|
||
|
|
||
|
def change do
|
||
|
for table <- @tables do
|
||
|
execute("DROP INDEX IF EXISTS #{table}_search_index")
|
||
|
end
|
||
|
end
|
||
|
end
|