Skip to content

Commit

Permalink
Drop temporary migration of schema migrations table now that it is de…
Browse files Browse the repository at this point in the history
…ployed
  • Loading branch information
gfodor committed Dec 31, 2019
1 parent 8abee4c commit 0f01f08
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/ret/release_tasks.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ defmodule Ret.ReleaseTasks do
Ret.Locking.exec_if_session_lockable("ret_migration", fn ->
Ecto.Adapters.SQL.query!(Ret.Repo, "CREATE SCHEMA IF NOT EXISTS ret0")

# Legacy, migrations table used to be under public schema
Ecto.Adapters.SQL.query!(Ret.Repo, "ALTER TABLE IF EXISTS public.schema_migrations SET SCHEMA ret0")

Ecto.Migrator.run(Ret.Repo, migrations_path(:ret), :up, all: true, prefix: "ret0")
end)
end
Expand Down

0 comments on commit 0f01f08

Please sign in to comment.