feat: adding "+" buttons to sidebar titles

This commit is contained in:
2026-04-26 22:05:55 +02:00
parent 334ffe6f6a
commit 0d7a68bc0f
11 changed files with 342 additions and 27 deletions

View File

@@ -0,0 +1,25 @@
defmodule BDS.ImportDefinitions.ImportDefinition do
@moduledoc false
use Ecto.Schema
import Ecto.Changeset
@primary_key {:id, :string, autogenerate: false}
schema "import_definitions" do
field :project_id, :string
field :name, :string
field :wxr_file_path, :string
field :uploads_folder_path, :string
field :last_analysis_result, :string
field :created_at, :integer
field :updated_at, :integer
end
def changeset(definition, attrs) do
definition
|> cast(attrs, [:id, :project_id, :name, :wxr_file_path, :uploads_folder_path, :last_analysis_result, :created_at, :updated_at])
|> validate_required([:id, :project_id, :name, :created_at, :updated_at])
end
end