2 Commits

  1. 9
      CHANGELOG.md
  2. 2
      mix.exs
  3. 4
      priv/repo/migrations/20210219221843_add_trigram_extension.exs

9
CHANGELOG.md

@ -5,6 +5,15 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.44.2](https://git.inhji.de/inhji/mirage/compare/v0.44.1...v0.44.2) (2021-02-19)
### Bug Fixes:
* only add extension if not exists
## [v0.44.1](https://git.inhji.de/inhji/mirage/compare/v0.44.0...v0.44.1) (2021-02-19)

2
mix.exs

@ -1,7 +1,7 @@
defmodule Mirage.MixProject do
use Mix.Project
@version "0.44.1"
@version "0.44.2"
def project do
[

4
priv/repo/migrations/20210219221843_add_trigram_extension.exs

@ -2,10 +2,10 @@ defmodule Mirage.Repo.Migrations.AddTrigramExtension do
use Ecto.Migration
def up do
repo().query!("CREATE EXTENSION pg_trgm;")
repo().query!("CREATE EXTENSION IF NOT EXISTS pg_trgm;")
end
def down do
repo().query!("DROP EXTENSION pg_trgm;")
repo().query!("DROP EXTENSION IF EXISTS pg_trgm;")
end
end
Loading…
Cancel
Save