3 Commits

  1. 11
      CHANGELOG.md
  2. 2
      mix.exs
  3. 2
      priv/repo/migrations/20210111174337_add_settings_data.exs
  4. 3
      priv/repo/migrations/20210203075035_create_links.exs

11
CHANGELOG.md

@ -5,6 +5,17 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.89.1](https://git.inhji.de/inhji/mirage/compare/v0.89.0...v0.89.1) (2021-03-27)
### Bug Fixes:
* rename multi call
* add missing domain field
## [v0.89.0](https://git.inhji.de/inhji/mirage/compare/v0.88.0...v0.89.0) (2021-03-27)

2
mix.exs

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

2
priv/repo/migrations/20210111174337_add_settings_data.exs

@ -29,7 +29,7 @@ defmodule Mirage.Repo.Migrations.AddSettingsData do
value: "Mirage",
value_html: "Mirage"
})
|> Multi.insert(:header_title, %Setting{
|> Multi.insert(:favicon, %Setting{
name: "favicon",
value: "😀",
value_html: "😀"

3
priv/repo/migrations/20210203075035_create_links.exs

@ -5,6 +5,7 @@ defmodule Mirage.Repo.Migrations.CreateNoteLinks do
create table(:links) do
add :title, :string
add :url, :string
add :domain, :string
add :content, :text, default: ""
add :content_html, :text, default: ""
@ -13,7 +14,7 @@ defmodule Mirage.Repo.Migrations.CreateNoteLinks do
timestamps()
end
create index(:note_links, [:note_id])
create index(:links, [:note_id])
create unique_index(:links, [:url])
end
end
Loading…
Cancel
Save