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

@@ -15,7 +15,7 @@ export interface DropdownOptionMeta {
badge?: string;
}
@Entity({ name: "dropdown_options" })
@Entity({schema:"freight", name: "dropdown_options" })
@Index(["settingId", "value"], { unique: true })
export class DropdownOption extends BaseEntity {
@ManyToOne(() => DropdownSetting, (setting) => setting.children, {

View File

@@ -12,7 +12,7 @@ export interface DropdownSettingMeta {
version?: string;
}
@Entity({ name: "dropdown_settings" })
@Entity({schema:"freight", name: "dropdown_settings" })
@Index(["code"], { unique: true })
export class DropdownSetting extends BaseEntity {
@Column({ name: "code", type: "varchar", length: 128, unique: true })