# `PhoenixKit.Migrations.Postgres.V39`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.87/lib/phoenix_kit/migrations/postgres/v39.ex#L1)

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

# `down`

Rollback the V39 migration.

# `up`

Run the V39 migration to add admin notes system.

---

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