mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
corrected inforrect column name
This commit is contained in:
parent
a650162dda
commit
5ebcea2ab0
4 changed files with 1225 additions and 1 deletions
1
src/app/db/migrations/0026_blue_randall.sql
Normal file
1
src/app/db/migrations/0026_blue_randall.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE "material" RENAME COLUMN "json" TO "depths";
|
||||
1216
src/app/db/migrations/meta/0026_snapshot.json
Normal file
1216
src/app/db/migrations/meta/0026_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -183,6 +183,13 @@
|
|||
"when": 1691681879576,
|
||||
"tag": "0025_illegal_psylocke",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 26,
|
||||
"version": "5",
|
||||
"when": 1691685306098,
|
||||
"tag": "0026_blue_randall",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue