working on redundancy

This commit is contained in:
2026-03-06 16:37:31 -07:00
parent 8059048db2
commit 181c6ca84b
16 changed files with 282 additions and 29 deletions

View File

@@ -7,7 +7,7 @@ defmodule ElixirAi.Conversation do
end
def create(name) do
case Repo.insert_all("conversations", [[id: Ecto.UUID.generate(), name: name, inserted_at: now(), updated_at: now()]]) do
case Repo.insert_all("conversations", [[name: name, inserted_at: now(), updated_at: now()]]) do
{1, _} -> :ok
_ -> {:error, :db_error}
end