change the schema from public to freight

This commit is contained in:
marshal
2026-05-23 10:00:40 +03:00
parent ecbf1f2408
commit 2064e6efda
10 changed files with 10 additions and 10 deletions

View File

@@ -2,7 +2,7 @@ import { BaseEntity } from "@edr/api-common";
import { Freight } from "@edr/types";
import { Column, Entity } from "typeorm";
@Entity({ name: "trains" })
@Entity({ schema:"freight",name: "trains" })
export class Train extends BaseEntity {
@Column({ name: "code", type: "varchar", length: 32, unique: true })
code!: string;