Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
35c3549
Better dropdown
abby-stevenson Nov 12, 2025
802df60
Updating stars component
abby-stevenson Nov 15, 2025
74f8a9a
Create Post Bar Header
abby-stevenson Nov 15, 2025
1cfdec8
Rough modal to pick short post or long post
abby-stevenson Nov 15, 2025
f9a163f
Creating a short post
abby-stevenson Nov 15, 2025
d918d1e
Renaming to differentiate between short post and long post
abby-stevenson Nov 15, 2025
54909e7
Adding long posts
abby-stevenson Nov 15, 2025
bd8a958
Refactoring Short Post
abby-stevenson Nov 15, 2025
91126d6
Adding Tool bar to long posts
abby-stevenson Nov 15, 2025
007aea9
Making tool bar its own component
abby-stevenson Nov 15, 2025
9228c1c
Refactoring LongPostForm to include new tool bar
abby-stevenson Nov 15, 2025
6fb093d
Refactoring Short Post Form to include new toolbar
abby-stevenson Nov 15, 2025
50553e9
Taking out unnecessary code in PostScreen since the new toolbar
abby-stevenson Nov 15, 2025
f0df1ec
Adding tags to long post
abby-stevenson Nov 15, 2025
68642b0
Making the rating button work again
abby-stevenson Nov 15, 2025
c633c50
Style
abby-stevenson Nov 15, 2025
4ff5de5
Improve logging for login screen
eric-kitagawa Nov 24, 2025
eb433b9
Add a backbutton
eric-kitagawa Nov 24, 2025
39d9a0f
Add back button to auth screens
eric-kitagawa Nov 24, 2025
328a6c6
Add back button to every onboarding screen
eric-kitagawa Nov 24, 2025
c4ceceb
fix annoying ass autofill on signup
eric-kitagawa Nov 24, 2025
6722d96
remove back button on username page
eric-kitagawa Nov 24, 2025
01458b2
Merge branch 'main' into frontend/login-fix
eric-kitagawa Nov 25, 2025
0f7e285
Add confirm email
eric-kitagawa Nov 25, 2025
e7c0962
Connecting to backend
abby-stevenson Nov 28, 2025
33cd598
Bandaid for confirm email
eric-kitagawa Nov 28, 2025
fd486b7
Create Post Modal
abby-stevenson Nov 28, 2025
3868bc2
Design Changes on Short Post
abby-stevenson Nov 28, 2025
3d2cf83
Merge branch 'main' into Create-Post
abby-stevenson Nov 29, 2025
eae0fce
adding tags and selecting movie
abby-stevenson Nov 29, 2025
93d54e3
uses gpt to create sentiment analysis
kaamil2 Nov 30, 2025
bac0ac6
Create Post Modal
abby-stevenson Dec 2, 2025
246c498
Adding icons to create post tool bar
abby-stevenson Dec 2, 2025
36dbd43
review ticket
abby-stevenson Dec 2, 2025
2b63f19
Changing Post Button
abby-stevenson Dec 2, 2025
e375c6a
Create Post Tool bar
abby-stevenson Dec 2, 2025
5f9354b
code cleanup
abby-stevenson Dec 2, 2025
2a10d37
removing unnecessary styles
abby-stevenson Dec 2, 2025
44add35
Better Tag Component
abby-stevenson Dec 2, 2025
29ae59d
Better Long Post
abby-stevenson Dec 2, 2025
08481bf
Code clean up
abby-stevenson Dec 2, 2025
569ba0d
Update app.ts
danctila Dec 2, 2025
9089ac7
Merge branch 'main' into Create-Post
abby-stevenson Dec 3, 2025
a98fcb4
Adding spoiler to database
abby-stevenson Dec 3, 2025
5750b22
Add utils for comment section
eric-kitagawa Dec 3, 2025
03ed260
Get half-working comment section + comment thread + comment to work
eric-kitagawa Dec 3, 2025
018849a
Add logic for expand comment and view conversation
eric-kitagawa Dec 3, 2025
84c6d2b
Refactor threads, comments, and comment bars into components
eric-kitagawa Dec 3, 2025
cea23a3
Rework component hierarchy and style
eric-kitagawa Dec 3, 2025
624893f
Merge branch 'main' into frontend/comment-section
eric-kitagawa Dec 3, 2025
80bfe00
Upating post type
abby-stevenson Dec 4, 2025
ac2cea9
Adding padding for phone screen
abby-stevenson Dec 4, 2025
9f0df74
chore: syncing schema
tGiech22 Dec 4, 2025
6e9a008
adding default to spoiler
abby-stevenson Dec 4, 2025
78dc3d2
Modals
abby-stevenson Dec 4, 2025
2c052b5
Refactor CSS hierarchy for comments, add thread bar and expand commen…
eric-kitagawa Dec 4, 2025
ec0251a
Fix comment indentation
eric-kitagawa Dec 4, 2025
59d3c38
added deep links for emails
Dec 4, 2025
f24206b
Line up threading containers again
eric-kitagawa Dec 4, 2025
f94aad2
fixed routing
Dec 4, 2025
618e590
one shotting comment like api
eric-kitagawa Dec 4, 2025
0cb6c50
Thread screen
eric-kitagawa Dec 4, 2025
e6f0d87
Add comment input
eric-kitagawa Dec 4, 2025
098df0e
Minimum size for the comment section
eric-kitagawa Dec 4, 2025
fa526d0
Fix tests
eric-kitagawa Dec 4, 2025
cbd1174
Fix page refresh everytime you add a comment
eric-kitagawa Dec 4, 2025
fb91251
Comment input refresh
eric-kitagawa Dec 4, 2025
b050b96
remove hardcoded comment section
eric-kitagawa Dec 4, 2025
88bc2fe
Merge pull request #152 from GenerateNU/deep-linking
danctila Dec 4, 2025
2977448
Update schema.prisma
danctila Dec 4, 2025
36734a7
Create MovieChosenScreenkcopy.tsx
danctila Dec 4, 2025
4586e3a
Update package.json
danctila Dec 4, 2025
b7e8f16
Copy of review card
danctila Dec 4, 2025
8ef35d7
Merge branch 'main' into frontend/sentiment-anal
danctila Dec 4, 2025
2bb8cfd
Merge
eric-kitagawa Dec 4, 2025
57d733d
Scaffolding for post details page
eric-kitagawa Dec 4, 2025
fb077a3
Thread approach
eric-kitagawa Dec 4, 2025
d8781b4
Merge branch 'main' into frontend/post-details
eric-kitagawa Dec 4, 2025
b951d01
Refactor posts
danctila Dec 4, 2025
2e420e6
Update PostsList.tsx
danctila Dec 4, 2025
12159f3
Merge pull request #155 from GenerateNU/post-refactor
danctila Dec 4, 2025
62d7b5d
Merge branch 'main' into frontend/comment-section
danctila Dec 4, 2025
62dcbb1
Merge branch 'main' into frontend/sentiment-anal
danctila Dec 4, 2025
18b9bbf
Add mock OpenAPI key to ci compose
danctila Dec 4, 2025
64b5179
Adjust summary service to use posts + add to movie chosen screen
danctila Dec 4, 2025
2f9a236
CI-Back
stoneliuCS Dec 5, 2025
6af2a47
Delete unused
danctila Dec 5, 2025
476bc33
Type fixes
danctila Dec 5, 2025
f2ba8ed
feat: saving user metadata
tGiech22 Dec 5, 2025
8122e1b
Hifi for consensus + pos/ntrl/neg functionality
danctila Dec 5, 2025
afd0b99
feat: modifying models.ts and schema.prisma to allow user to save acc…
tGiech22 Dec 5, 2025
26103a6
Reorder image and text components in MovieScreen
danctila Dec 5, 2025
6abd98f
fix: for some reason a bunch of errors appeared when trying to run th…
tGiech22 Dec 5, 2025
72438f5
Merge pull request #140 from GenerateNU/frontend/sentiment-anal
danctila Dec 5, 2025
c3edd8f
feat: can save username changes
tGiech22 Dec 5, 2025
d43a4de
Modal backdrop style change, preset tags
danctila Dec 5, 2025
56012d8
SHORT/LONG_POST -> SHORT/LONG
danctila Dec 5, 2025
752bc0d
Schema from main
danctila Dec 5, 2025
b854b06
Update models.ts
danctila Dec 5, 2025
512de4b
Merge branch 'main' into Create-Post
danctila Dec 5, 2025
4d1db60
fix: removing whatsapp toggle
tGiech22 Dec 5, 2025
00ff084
tag ui changes
danctila Dec 5, 2025
df8ba45
+ button in movie chosen page -> post flow
danctila Dec 5, 2025
fb807a9
Update LocationSection.tsx
danctila Dec 5, 2025
f862bff
Fix types for long/short post payloads
danctila Dec 5, 2025
4458444
Update post.ts
danctila Dec 5, 2025
efadd95
Update post.ts
danctila Dec 5, 2025
ee95089
Update post.ts
danctila Dec 5, 2025
81329cd
Merge pull request #137 from GenerateNU/Create-Post
danctila Dec 5, 2025
75b991d
Merge pull request #145 from GenerateNU/frontend/comment-section
danctila Dec 5, 2025
00615d1
Rename 'spoilers' field to 'spoiler'
danctila Dec 5, 2025
9b69c2c
Rename 'spoilers' to 'spoiler' in user profile controller
danctila Dec 5, 2025
1017bcf
Change 'spoilers' to 'spoiler' in UserProfile type
danctila Dec 5, 2025
7cc6f4c
Rename 'spoilers' to 'spoiler' in models
danctila Dec 5, 2025
fab1409
Rename 'spoilers' to 'spoiler' in user profile
danctila Dec 5, 2025
6d1f331
Rename 'spoilers' to 'spoiler' in user profile types
danctila Dec 5, 2025
0590524
Merge pull request #156 from GenerateNU/BE-updating-user-profile-meta…
danctila Dec 5, 2025
5e35cc2
ios deploy workflow to use prod instead of main
danctila Dec 5, 2025
e57ab88
Make comment input sticky
eric-kitagawa Dec 5, 2025
62e19a2
Merge branch 'main' into frontend/post-details
eric-kitagawa Dec 5, 2025
cbf9f44
spoilers
kaamil2 Dec 5, 2025
c6b8762
Styling issues
eric-kitagawa Dec 5, 2025
235f1be
fix tests to match schema
eric-kitagawa Dec 5, 2025
07d82f7
feat: updated schema to include movies to be watched and movies compl…
tGiech22 Dec 5, 2025
3828544
test: wrote tests to make sure its getting the movies correctly for t…
tGiech22 Dec 5, 2025
28bb0f1
all functionality j need to fully do hifi
kaamil2 Dec 5, 2025
a1dc61e
i ❤️ eric kitagawa
danctila Dec 5, 2025
22c8cbf
feat: split events up into saved and attended in schema and updated c…
tGiech22 Dec 5, 2025
4c00754
fix: fix errors in eventslist
tGiech22 Dec 5, 2025
f04ef02
Type fix for reaction counts
danctila Dec 5, 2025
8baed49
fix: removed whatsapp from edit profile settings
tGiech22 Dec 5, 2025
a200011
Merge pull request #157 from GenerateNU/spoilers_v2
danctila Dec 5, 2025
3f427b3
Seed updates, type fixes
danctila Dec 5, 2025
602d27f
Merge branch 'main' into FE-profile-movies-data
danctila Dec 5, 2025
64e2e5e
Merge branch 'main' into frontend/login-fix
danctila Dec 5, 2025
687eb81
Merge pull request #132 from GenerateNU/frontend/login-fix
danctila Dec 5, 2025
f2d87fe
hi fi almost done
kaamil2 Dec 5, 2025
ad8cade
hifis
kaamil2 Dec 5, 2025
2aabc6c
Merge branch 'main' into bookmark-feature
kaamil2 Dec 5, 2025
c558089
Merge branch 'main' of https://github.com/GenerateNU/cinecircle into …
tGiech22 Dec 5, 2025
7d8a82b
fix: removing moviesToWatch and moviesCompleted stuff from backend
tGiech22 Dec 5, 2025
b050e14
added spoiler toggle
kaamil2 Dec 5, 2025
5740062
added more things on moviescreen
kaamil2 Dec 5, 2025
56c29c7
added more things on moviescreen
kaamil2 Dec 5, 2025
a90d4ff
Remove spoiler button, clean commetns
danctila Dec 5, 2025
2cff0c4
Clean comments
danctila Dec 5, 2025
340be0e
unused import
danctila Dec 5, 2025
730ece3
Merge pull request #161 from GenerateNU/spoiler-rec-by-friends
danctila Dec 5, 2025
4410155
splash screen
kaamil2 Dec 5, 2025
91333de
Merge branch 'main' into bookmark-feature
kaamil2 Dec 5, 2025
e91fddd
Merge pull request #162 from GenerateNU/moviescreen-filter
kaamil2 Dec 5, 2025
677138d
Speed up event render performance in frontend
danctila Dec 5, 2025
919deaa
fixed this screen
kaamil2 Dec 5, 2025
6593f7c
feat: posts from backend and events as well
tGiech22 Dec 5, 2025
cde4ff2
dataaaaaa
danctila Dec 5, 2025
f2d84d6
New ticket images, unbookmarking
danctila Dec 5, 2025
8834e61
Merge pull request #164 from GenerateNU/event-performance
danctila Dec 5, 2025
2ebe484
Merge pull request #165 from GenerateNU/tmdb-data-scripts
danctila Dec 5, 2025
cbbb6e7
Fix: failing user api test
danctila Dec 5, 2025
df809b5
Fix: frontend types
danctila Dec 5, 2025
f3d53dc
Remove cancel, make look nicer
danctila Dec 5, 2025
01deec5
Merge pull request #159 from GenerateNU/bookmark-feature
danctila Dec 5, 2025
d54c43d
Merge branch 'main' into FE-profile-movies-data
danctila Dec 5, 2025
5357f0c
Bio, displayname, events saved + attended for user controller
danctila Dec 5, 2025
dd9ea95
Fix failing tests
danctila Dec 5, 2025
16564f8
Fix: frontend types
danctila Dec 5, 2025
fe65764
Bookmark events
danctila Dec 5, 2025
8966a15
Merge pull request #158 from GenerateNU/FE-profile-movies-data
danctila Dec 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ios-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Deploy IOS (Caller)
on:
push:
branches: [main, ios-deploy]
branches: [prod, ios-deploy]

jobs:
deploy:
Expand Down
2 changes: 2 additions & 0 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"db:push:supabase": "sh scripts/push-schema-to-supabase.sh",
"db:seed": "sh scripts/seed-supabase.sh --local",
"db:seed:supabase": "sh scripts/seed-supabase.sh --prod",
"import:tmdb": "tsx scripts/import-tmdb-ids.ts",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"format": "prettier --write \"src/**/*.ts\"",
Expand All @@ -39,6 +40,7 @@
"express": "^4.21.2",
"jsonwebtoken": "^9.0.2",
"jwks-rsa": "^3.2.0",
"openai": "^6.9.1",
"pg": "^8.16.3",
"prisma": "^6.15.0",
"swagger-autogen": "^2.23.7"
Expand Down
205 changes: 117 additions & 88 deletions backend/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -111,20 +111,21 @@ model mfa_challenges {
/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments
/// This model contains row level security and requires additional setup for migrations. Visit https://pris.ly/d/row-level-security for more info.
model mfa_factors {
id String @id @db.Uuid
user_id String @db.Uuid
friendly_name String?
factor_type factor_type
status factor_status
created_at DateTime @db.Timestamptz(6)
updated_at DateTime @db.Timestamptz(6)
secret String?
phone String?
last_challenged_at DateTime? @unique @db.Timestamptz(6)
web_authn_credential Json?
web_authn_aaguid String? @db.Uuid
mfa_challenges mfa_challenges[]
users auth_users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)
id String @id @db.Uuid
user_id String @db.Uuid
friendly_name String?
factor_type factor_type
status factor_status
created_at DateTime @db.Timestamptz(6)
updated_at DateTime @db.Timestamptz(6)
secret String?
phone String?
last_challenged_at DateTime? @unique @db.Timestamptz(6)
web_authn_credential Json?
web_authn_aaguid String? @db.Uuid
last_webauthn_challenge_data Json?
mfa_challenges mfa_challenges[]
users auth_users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)

@@unique([user_id, phone], map: "unique_phone_factor_per_user")
@@index([user_id, created_at], map: "factor_id_created_at_idx")
Expand All @@ -150,6 +151,7 @@ model oauth_authorizations {
created_at DateTime @default(now()) @db.Timestamptz(6)
expires_at DateTime @default(dbgenerated("(now() + '00:03:00'::interval)")) @db.Timestamptz(6)
approved_at DateTime? @db.Timestamptz(6)
nonce String?
oauth_clients oauth_clients @relation(fields: [client_id], references: [id], onDelete: Cascade, onUpdate: NoAction)
users auth_users? @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)

Expand Down Expand Up @@ -282,25 +284,29 @@ model schema_migrations {
@@schema("auth")
}

/// This table contains check constraints and requires additional setup for migrations. Visit https://pris.ly/d/check-constraints for more info.
/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments
/// This model contains row level security and requires additional setup for migrations. Visit https://pris.ly/d/row-level-security for more info.
model sessions {
id String @id @db.Uuid
user_id String @db.Uuid
created_at DateTime? @db.Timestamptz(6)
updated_at DateTime? @db.Timestamptz(6)
factor_id String? @db.Uuid
aal aal_level?
not_after DateTime? @db.Timestamptz(6)
refreshed_at DateTime? @db.Timestamp(6)
user_agent String?
ip String? @db.Inet
tag String?
oauth_client_id String? @db.Uuid
mfa_amr_claims mfa_amr_claims[]
refresh_tokens refresh_tokens[]
oauth_clients oauth_clients? @relation(fields: [oauth_client_id], references: [id], onDelete: Cascade, onUpdate: NoAction)
users auth_users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)
id String @id @db.Uuid
user_id String @db.Uuid
created_at DateTime? @db.Timestamptz(6)
updated_at DateTime? @db.Timestamptz(6)
factor_id String? @db.Uuid
aal aal_level?
not_after DateTime? @db.Timestamptz(6)
refreshed_at DateTime? @db.Timestamp(6)
user_agent String?
ip String? @db.Inet
tag String?
oauth_client_id String? @db.Uuid
refresh_token_hmac_key String?
refresh_token_counter BigInt?
scopes String?
mfa_amr_claims mfa_amr_claims[]
refresh_tokens refresh_tokens[]
oauth_clients oauth_clients? @relation(fields: [oauth_client_id], references: [id], onDelete: Cascade, onUpdate: NoAction)
users auth_users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)

@@index([not_after(sort: Desc)])
@@index([oauth_client_id])
Expand Down Expand Up @@ -397,41 +403,57 @@ model auth_users {
}

model Comment {
id String @id @default(uuid())
userId String @db.Uuid
ratingId String?
postId String?
content String
createdAt DateTime @default(now())
parentId String?
parent_comment Comment? @relation("CommentToComment", fields: [parentId], references: [id], onDelete: SetNull)
child_comment Comment[] @relation("CommentToComment")
Post Post? @relation(fields: [postId], references: [id])
Rating Rating? @relation(fields: [ratingId], references: [id])
UserProfile UserProfile @relation(fields: [userId], references: [userId])
id String @id
userId String @db.Uuid
postId String?
content String
createdAt DateTime @default(now())
parentId String?
Comment Comment? @relation("CommentToComment", fields: [parentId], references: [id])
other_Comment Comment[] @relation("CommentToComment")
Post Post? @relation(fields: [postId], references: [id])
UserProfile UserProfile @relation(fields: [userId], references: [userId])
CommentLike CommentLike[]

@@schema("public")
}

model CommentLike {
id String @id
commentId String
userId String @db.Uuid
createdAt DateTime @default(now())
Comment Comment @relation(fields: [commentId], references: [id], onDelete: Cascade)
UserProfile UserProfile @relation(fields: [userId], references: [userId])

@@unique([commentId, userId])
@@schema("public")
}

model Post {
id String @id @default(uuid())
userId String @db.Uuid
content String
type PostType
createdAt DateTime @default(now())
imageUrls String[] @default([])
parentPostId String? // For threading/replies
Comment Comment[]
UserProfile UserProfile @relation(fields: [userId], references: [userId])
PostReaction PostReaction[] // Track individual reactions
ParentPost Post? @relation("PostReplies", fields: [parentPostId], references: [id], onDelete: SetNull)
Replies Post[] @relation("PostReplies")
id String @id
userId String @db.Uuid
movieId String
content String
type PostType
stars Int?
spoiler Boolean @default(false)
tags String[] @default([])
createdAt DateTime @default(now())
imageUrls String[] @default([])
repostedPostId String?
Comment Comment[]
movie movie @relation(fields: [movieId], references: [movieId])
Post Post? @relation("PostToPost", fields: [repostedPostId], references: [id])
other_Post Post[] @relation("PostToPost")
UserProfile UserProfile @relation(fields: [userId], references: [userId])
PostReaction PostReaction[]

@@schema("public")
}

model PostReaction {
id String @id @default(uuid())
id String @id
postId String
userId String @db.Uuid
reactionType ReactionType
Expand All @@ -444,17 +466,14 @@ model PostReaction {
}

model Rating {
id String @id @default(uuid())
userId String @db.Uuid
movieId String
stars Int
comment String?
tags String[] @default([])
date DateTime
votes Int @default(0)
Comment Comment[]
UserProfile UserProfile @relation(fields: [userId], references: [userId])
movie movie @relation(fields: [movieId], references: [movieId])
id String @id
userId String @db.Uuid
movieId String
stars Int
comment String?
tags String[] @default([])
date DateTime
votes Int @default(0)

@@schema("public")
}
Expand All @@ -479,17 +498,27 @@ model UserProfile {
profilePicture String?
country String?
city String?
displayName String?
favoriteGenres String[] @default([])
favoriteMovies String[] @default([])
privateAccount Boolean @default(false)
spoiler Boolean @default(false)
bio String?
moviesToWatch String[] @default([])
moviesCompleted String[] @default([])
eventsSaved String[] @default([])
eventsAttended String[] @default([])
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
updatedAt DateTime
Comment Comment[]
CommentLike CommentLike[]
Post Post[]
PostReaction PostReaction[]
Rating Rating[]
UserFollow_UserFollow_followerIdToUserProfile UserFollow[] @relation("UserFollow_followerIdToUserProfile")
UserFollow_UserFollow_followingIdToUserProfile UserFollow[] @relation("UserFollow_followingIdToUserProfile")
event_rsvp event_rsvp[]
bookmarkedToWatch String[] @default([])
bookmarkedWatched String[] @default([])

@@schema("public")
}
Expand All @@ -503,8 +532,22 @@ model bootcamp {
@@schema("public")
}

model event_rsvp {
id String @id @db.Uuid
eventId String @db.Uuid
userId String @db.Uuid
status String
createdAt DateTime @default(now())
updatedAt DateTime
local_event local_event @relation(fields: [eventId], references: [id], onDelete: Cascade)
UserProfile UserProfile @relation(fields: [userId], references: [userId], onDelete: Cascade)

@@unique([eventId, userId])
@@schema("public")
}

model local_event {
id String @id(map: "local_events_pkey") @default(uuid()) @db.Uuid
id String @id(map: "local_events_pkey") @db.Uuid
title String
time DateTime? @default(dbgenerated("(now() AT TIME ZONE 'utc'::text)")) @db.Timestamptz(6)
description String
Expand All @@ -520,20 +563,6 @@ model local_event {
@@schema("public")
}

model event_rsvp {
id String @id @default(uuid()) @db.Uuid
eventId String @db.Uuid
userId String @db.Uuid
status String // 'yes', 'maybe', 'no'
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
local_event local_event @relation(fields: [eventId], references: [id], onDelete: Cascade)
UserProfile UserProfile @relation(fields: [userId], references: [userId], onDelete: Cascade)

@@unique([eventId, userId])
@@schema("public")
}

model movie {
movieId String @id
localRating String?
Expand All @@ -545,7 +574,7 @@ model movie {
imageUrl String?
releaseYear Int?
director String?
Rating Rating[]
Post Post[]

@@schema("public")
}
Expand Down Expand Up @@ -637,10 +666,10 @@ enum PostType {
}

enum ReactionType {
SPICY // 🌶️ Drama-filled, bold, or full of tension
STAR_STUDDED // ✨ Packed with A-listers
THOUGHT_PROVOKING // 🧠 Thought-provoking/mind blowing
BLOCKBUSTER // 🧨 Mega-hit with hype, memes, and madness
SPICY
STAR_STUDDED
THOUGHT_PROVOKING
BLOCKBUSTER

@@schema("public")
}
Loading