Skip to content

Commit 0ff5793

Browse files
update database description for user and event
1 parent 7f7e672 commit 0ff5793

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/database/event/event.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ The `event` table stores core information about events within the platform. It c
1616

1717
### 2. Location & Venue Information
1818

19-
- `venue_id`(INTEGER) – The venue hosting the event.
19+
- `venue_id`(INTEGER, nullable) – The venue hosting the event.
2020
If the venue is deleted, related events are deleted as well (ON DELETE CASCADE).
21-
- `space_id` (INTEGER) – Specific room or space in the venue where the event takes place.
21+
- `space_id` (INTEGER, nullable) – Specific room or space in the venue where the event takes place.
2222
If the space is deleted, this field becomes NULL (ON DELETE SET NULL).
23-
- `location_id` (INTEGER) – General location reference used for filtering and geography-based search.
23+
- `location_id` (INTEGER, nullable) – Optional location reference used when `venue_id` is not provided.
24+
Allows specifying a location for an event without creating a venue record first.
2425
- `meeting_point` (TEXT) – Optional meeting location for participants (e.g., “Main entrance”, “Foyer”).
2526
- `online_event_url` (TEXT) – URL for online/virtual events (stream link, webinar room, etc.).
2627

0 commit comments

Comments
 (0)