... | ... | @@ -47,10 +47,10 @@ O banco de dados foi projetado para suportar a plataforma de campanhas de arreca |
|
|
|
|
|
### `campaign`
|
|
|
- `id` (UUID, PK)
|
|
|
- `description`, `target_amount`, `start_date`, `end_date`, `image_url`
|
|
|
- `title`, `description`, `target_amount`, `current_amount`, `start_date`, `end_date`, `image_url`
|
|
|
- `status` (`campaign_status`)
|
|
|
- `admin_id` (FK → admin.user_id)
|
|
|
- `requester_id` (FK → donor.user_id)
|
|
|
- `created_by` (FK → user_id)
|
|
|
|
|
|
### `donation`
|
|
|
- `id` (UUID, PK)
|
... | ... | |