corrected inforrect column name

This commit is contained in:
Khalim Conn-Kowlessar 2023-08-10 17:35:38 +01:00
parent a650162dda
commit 5ebcea2ab0
4 changed files with 1225 additions and 1 deletions

View file

@ -0,0 +1 @@
ALTER TABLE "material" RENAME COLUMN "json" TO "depths";

File diff suppressed because it is too large Load diff

View file

@ -183,6 +183,13 @@
"when": 1691681879576,
"tag": "0025_illegal_psylocke",
"breakpoints": true
},
{
"idx": 26,
"version": "5",
"when": 1691685306098,
"tag": "0026_blue_randall",
"breakpoints": true
}
]
}

View file

@ -39,7 +39,7 @@ export const material = pgTable("material", {
id: bigserial("id", { mode: "bigint" }).primaryKey(),
type: materialTypeEnum("type").notNull(),
description: text("description").notNull(),
depths: json("json").$type<number[]>(),
depths: json("depths").$type<number[]>(),
depth_unit: depthUnitEnum("depth_unit"),
cost: real("cost"),
costUnit: costUnitEnum("cost_unit"),