feat: more complete metadata diff, scp publishing and rendering context

This commit is contained in:
2026-04-24 06:30:41 +02:00
parent e101a3db79
commit 624b698bb3
48 changed files with 2193 additions and 505 deletions

View File

@@ -58,7 +58,18 @@ defmodule BDS.Media.Media do
],
empty_values: [nil]
)
|> validate_required([:id, :project_id, :filename, :original_name, :mime_type, :size, :file_path, :sidecar_path, :created_at, :updated_at])
|> validate_required([
:id,
:project_id,
:filename,
:original_name,
:mime_type,
:size,
:file_path,
:sidecar_path,
:created_at,
:updated_at
])
|> assoc_constraint(:project)
end
end