# `mix ash_authzed.schema.apply`
[🔗](https://github.com/boxxxie/ash_authzed/blob/v0.2.0/lib/mix/tasks/ash_authzed.schema.apply.ex#L1)

Applies the `.zed` or YAML Zanzibar schema file to the active ReBAC adapter (`Licet`, `SpiceDB`, or `Memory`).

## Examples

    # Applies the default schema to the configured adapter
    mix ash_authzed.schema.apply

    # Specifies an explicit schema file path
    mix ash_authzed.schema.apply --schema priv/authzed/schema.zed

    # Target an explicit adapter (licet, spicedb_http, memory)
    mix ash_authzed.schema.apply --adapter spicedb_http

---

*Consult [api-reference.md](api-reference.md) for complete listing*
