Cargando mensaje...
search--v1

Uni Ecto Plugin ❲FRESH❳

Often used for eerie, pulsating text effects in cinematic projects.

The plugin adds a macro belongs_to_uni : uni ecto plugin

defmodule MyApp.Repo.Migrations.AddNotesToOrders do use Ecto.Migration import UniEcto.MigrationHelpers Often used for eerie, pulsating text effects in

The uni_ecto_plugin sits between Triplex and a manual implementation. It gives you the safety rails of multi-tenancy without locking you into a specific storage strategy. Often used for eerie

def list_users do Repo.all(User) # Automatically scoped to the current tenant prefix end

def cast(uni) when is_binary(uni) do case UNI.parse(uni) do {:ok, %UNI{} = uni_struct} -> :ok, uni_struct _ -> :error end end def cast(%UNI{} = uni), do: :ok, uni def cast(_), do: :error