Search documentation of phoenix_kit

# PhoenixKit.Migrations.Postgres.V39 (phoenix_kit v1.7.87)

Copy Markdown View Source

PhoenixKit V39 Migration: Admin Notes System

Adds a notes system for administrators to record internal notes about users. These notes are only visible to admins and serve as admin-to-admin communication.

## Changes

### Admin Notes Table (phoenix_kit_admin_notes)

- Internal notes that admins can write about users
- Tracks which admin wrote each note
- Full edit history with updated_at timestamps
- Any admin can view/edit/delete any note

## Features

- Simple text-based notes
- Author tracking for accountability
- Efficient indexes for user and author lookups
- Timestamps for audit trail

## Summary

### Functions

down(opts)

Rollback the V39 migration.

up(opts)

Run the V39 migration to add admin notes system.

## Functions

# down(opts)

Rollback the V39 migration.

# up(opts)

Run the V39 migration to add admin notes system.