PhoenixKit.Migrations.Postgres.V133 (phoenix_kit v1.7.165)

Copy Markdown View Source

V133: Dashboards table.

Backs the phoenix_kit_dashboards plugin module. A dashboard is a page of placed widgets; its layout is stored as a JSONB list of widget instances ([{id, widget_key, x, y, w, h, settings}]), read and written whole.

Scopes:

  • personalowner_user_uuid set; private to that user.
  • systemowner_user_uuid NULL; visible to everyone.
  • rolerole_uuid set; visible to members of that role.

All statements are idempotent (IF NOT EXISTS), safe to re-run.

Summary

Functions

down(opts)

up(opts)