mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 20:40:55 +00:00
enhance train scheduling and booking management
This commit is contained in:
@@ -7,6 +7,11 @@ import {
|
||||
import { BaseEntity } from "@edr/api-common";
|
||||
|
||||
@Entity({
|
||||
// Table lives in the freight schema like every other freight entity. Without
|
||||
// this the entity inherits the DataSource default schema (public), so TypeORM
|
||||
// queries public.otp_verifications — which doesn't exist — and OTP verify
|
||||
// (e.g. the contract-signature sudo gate) fails with a 500 QueryFailedError.
|
||||
schema: "freight",
|
||||
name: "otp_verifications",
|
||||
})
|
||||
export class OtpVerification extends BaseEntity{
|
||||
|
||||
Reference in New Issue
Block a user