Ecto schema for the value a plan grants for a feature.
PlanFeature is the join table between HawkEx.Billing.Plan and
HawkEx.Billing.Feature. The value field is stored as a string so boolean
and limit features can share the same table.
Examples:
- Pro plan,
api_calls,"1000". - Free plan,
api_calls,"100". - Pro plan,
export_csv,"true". - Free plan,
export_csv,"false".
The associated feature's feature_type determines how the value is
interpreted by HawkEx.Entitlements.
Summary
Functions
Builds a changeset for a plan-feature grant.