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

@@ -4,7 +4,7 @@ import { Column, Entity } from "typeorm";
export type CustomerStatus = "Active" | "Pending" | "Inactive";
export type CustomerType = "Importer" | "Exporter" | "Supplier";
@Entity({ name: "customers" })
@Entity({schema:"freight", name: "customers" })
export class Customer extends BaseEntity {
@Column({ name: "name", type: "varchar", length: 256 })
name!: string;