mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 19:30:57 +00:00
Merge branch 'alpha' of https://github.com/Tria-plc/edr-platform into alpha
This commit is contained in:
@@ -261,6 +261,7 @@ model User {
|
||||
faydaSub String? @unique
|
||||
|
||||
sessions Session[]
|
||||
passenger Passenger?
|
||||
|
||||
@@schema("passenger")
|
||||
}
|
||||
@@ -286,7 +287,7 @@ model Passenger {
|
||||
preferredLanguage String?
|
||||
blockedUntil DateTime?
|
||||
createdAt DateTime @default(now())
|
||||
user User @relation(fields: [userId], references: [id])
|
||||
user User? @relation(fields: [userId], references: [id])
|
||||
bookings Booking[]
|
||||
loyalty LoyaltyAccount?
|
||||
wallet WalletAccount?
|
||||
|
||||
@@ -6,7 +6,7 @@ import { SegmentsModule } from '../segments/segments.module';
|
||||
import { SystemConfigModule } from '../system-config/system-config.module';
|
||||
|
||||
@Module({
|
||||
imports: [SegmentsModule, HttpModule, IamModule, SystemConfigModule],
|
||||
imports: [SegmentsModule, HttpModule, SystemConfigModule],
|
||||
controllers: [SeatsController],
|
||||
providers: [SeatsService],
|
||||
exports: [SeatsService],
|
||||
|
||||
Reference in New Issue
Block a user