You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible/funnel.ex

14 lines
294 B
Elixir

defmodule Plausible.Funnel do
use Ecto.Schema
@type t() :: %__MODULE__{}
schema "funnels" do
field :name, :string
belongs_to :site, Plausible.Site
has_many :funnel_goals, Plausible.Funnel.Goals
has_many :goals, through: [:funnel_goals, :goal]
timestamps()
end
end