CommuneCar / mono-app

https://communecar-ui.vercel.app
0 stars 0 forks source link

Added a couple of fields to UserRide schema #128

Closed erezdrutin closed 3 months ago

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
communecar-ui ❌ Failed (Inspect) May 20, 2024 7:07am
erezdrutin commented 3 months ago

Don't really know why deployment keeps failing on BE changes but in any case I'm merging this as this doesn't have any effects on existing code & I already applied the changes on DB level. @Zoeshwa current UserRide schema: model UserRide { userId Int rideId Int status String fromLat Float fromLong Float toLat Float toLong Float flexibleLocation Boolean @default(false) passengersCount Int @default(1) modificationTs DateTime @updatedAt @default(now()) user User @relation(fields: [userId], references: [id]) ride Ride @relation(fields: [rideId], references: [id]) @@id([userId, rideId]) }