ZSchemas (Portico/Z v0.1.0)

Data and schema definitions for all of Z.

This should be invoked at the top of all schema files like so:

use ZSchemas

Other Data Definitions

The only other place where you'll find data definitions is in the Library app, which contains schema definitions for other people's data (which is why we keep it separate)

See All Schemas for a consolidated list of every schema we're definining.

Weirdly, the migrations for these schemas are stored in apps/z/priv/repo/migrations - so look there for the actual migration files, should you need them.

Link to this section Summary

Functions

Universal configuration for all Z Schemas.

Return the name values from a @fields list

Link to this section Functions

Link to this macro

__using__(_)

(macro)

Universal configuration for all Z Schemas.

Link to this function

field_names(fields)

Return the name values from a @fields list