fix citext migration issues
This commit is contained in:
parent
7b1ef08f7d
commit
516d5ebe76
@ -2,10 +2,10 @@ defmodule Chessh.Repo.Migrations.AddCitext do
|
|||||||
use Ecto.Migration
|
use Ecto.Migration
|
||||||
|
|
||||||
def up do
|
def up do
|
||||||
execute("CREATE EXTENSION citext")
|
execute("CREATE EXTENSION IF NOT EXISTS citext")
|
||||||
end
|
end
|
||||||
|
|
||||||
def down do
|
def down do
|
||||||
execute("DROP EXTENSION citext")
|
execute("DROP EXTENSION IF EXISTS citext")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user