feat: implement custom URLs

Signed-off-by: Amogh Lele <amolele@gmail.com>
This commit is contained in:
sphericalkat committed 2022-05-28 10:29:47 +05:30
1 parent 5a0995b991
commit 106ae8398e
4 files changed
+26 -4

No files matched your search

+1
View File
@@ -16,5 +16,6 @@ defmodule Ketbin.Pastes.Paste do
paste
|> cast(attrs, [:is_url, :content, :id, :belongs_to])
|> validate_required([:is_url, :content])
|> unique_constraint(:id, name: :pastes_pkey)
end
end