Database Explorer
v0.4.0Browse Postgres tables and watch row changes live from the admin
Install Database ExplorerA read-only database explorer in the admin: list Postgres tables with row counts and size, preview rows, and watch INSERT, UPDATE and DELETE activity in real time through LISTEN/NOTIFY triggers installed when a table is first viewed. Values in secret-named columns are masked on the server.
Use it when
- You want to inspect production data from the admin without opening psql
- You are debugging which rows a feature writes and want to see changes as they happen
What it gives you
- Table list with row counts and size at /admin/db
- Paginated row preview at /admin/db/:schema/:table
- Live activity feed with diff highlighting at /admin/db/activity
- Masking of password, token, secret and similar columns, also inside JSON
- Triggers removed when the module is disabled
Example
config :phoenix_kit_db, ddl_lock_timeout_ms: 2000
Database Explorer news
Nothing posted about Database Explorer yet. Read its changelog or see all PhoenixKit news.
Install
1
Add to mix.exs
{:phoenix_kit_db, "~> 0.4"}
2 Fetch it and run its migrations
$ mix deps.get && mix phoenix_kit.update
3
Switch it on in /admin/modules
- Package
- phoenix_kit_db
- Releases
-
- 0.4.0
- 0.3.0
- 0.2.1
- Admin
-
/admin/db - Links
- HexDocs ↗ GitHub ↗ Changelog ↗
Related modules
What it needs, what builds on it, and its neighbours in Platform & tools.
Dashboards
Build admin dashboard pages from widgets that any module exposes
No other modules needed
Hello World
A demo module to copy when building your own PhoenixKit module
No other modules needed
Legal
Generated legal pages, cookie consent banner and consent logging
Needs Publishing
Stats
Collect and chart time-series metrics from external sources over Graphite
No other modules needed
Sync
Pull data between PhoenixKit sites over token-based connections
No other modules needed
Templates Editor
Edit your app's email template files from the email settings page
Needs templates