use strict context boundaries

This commit is contained in:
2023-03-16 23:48:03 -04:00
parent 5cde99de90
commit 066587f839
8 changed files with 32 additions and 35 deletions
changelog.md
lib/memex
priv/gettext
de
LC_MESSAGES
en
LC_MESSAGES
errors.pot

@ -26,7 +26,7 @@ defmodule Memex.Notes.Note do
field :tags_string, :string, virtual: true
field :visibility, Ecto.Enum, values: [:public, :private, :unlisted]
belongs_to :user, User
field :user_id, :binary_id
timestamps()
end
@ -37,7 +37,6 @@ defmodule Memex.Notes.Note do
tags: [String.t()] | nil,
tags_string: String.t() | nil,
visibility: :public | :private | :unlisted,
user: User.t() | Ecto.Association.NotLoaded.t(),
user_id: User.id(),
inserted_at: NaiveDateTime.t(),
updated_at: NaiveDateTime.t()