# Database Migrations

This directory contains SQL migration files for the Supabase database.

## How to apply these migrations

### Option 1: Using the Supabase CLI

1. Install the Supabase CLI: https://supabase.com/docs/guides/cli
2. Log in to your Supabase account
3. Run the migration:

```bash
supabase db execute --file ./lib/migrations/add_reply_columns.sql -p your-project-db-password
```

### Option 2: Using the Supabase Dashboard

1. Log in to the Supabase Dashboard
2. Go to your project
3. Navigate to the SQL Editor
4. Open the migration file
5. Copy and paste the SQL into the editor
6. Run the query

## Migration Files

- `add_reply_columns.sql`: Adds reply functionality to the community chat feature

## Migration Status

| Migration File | Applied | Date |
|----------------|---------|------|
| add_reply_columns.sql | ❌ | - | 