2023-05-29 19:28:27 -04:00
|
|
|
defmodule Chessh.Repo.Migrations.AddCitext do
|
|
|
|
use Ecto.Migration
|
|
|
|
|
|
|
|
def up do
|
2023-05-29 19:59:09 -04:00
|
|
|
execute("CREATE EXTENSION IF NOT EXISTS citext")
|
2023-05-29 19:28:27 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
def down do
|
2023-05-29 19:59:09 -04:00
|
|
|
execute("DROP EXTENSION IF EXISTS citext")
|
2023-05-29 19:28:27 -04:00
|
|
|
end
|
|
|
|
end
|