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

PhoenixKit V06 Migration: Allow NULL Expiration Dates for Referral Codes

This migration allows referral codes to have no expiration date by making 
the expiration_date field nullable. This enables the creation of permanent 
referral codes that never expire.

## Changes

### Referral Codes Enhancement
- Modifies expiration_date column to allow NULL values
- Enables creation of permanent referral codes
- Maintains backward compatibility with existing dated codes
- Supports "never expires" functionality

## PostgreSQL Support
- Supports PostgreSQL prefix for schema isolation
- Safe column modification with rollback support

# `down`

# `up`

Run the V06 migration to allow NULL expiration dates.

---

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