Merge branch 'staging' [skip ci]
This commit is contained in:
12
prisma/migrations/20250924181725_flaeche_float/migration.sql
Normal file
12
prisma/migrations/20250924181725_flaeche_float/migration.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- Added the required column `ausweistyp` to the `Provisionen` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "Aufnahme" ALTER COLUMN "flaeche" SET DATA TYPE DOUBLE PRECISION,
|
||||
ALTER COLUMN "nutzflaeche" SET DATA TYPE DOUBLE PRECISION;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "Provisionen" ADD COLUMN "ausweistyp" "AusweisTyp" NOT NULL;
|
||||
@@ -29,9 +29,9 @@ model Aufnahme {
|
||||
/// @zod.describe("Anzahl der (Wohn)Einheiten im Gebäude")
|
||||
einheiten Int?
|
||||
/// @zod.describe("Wohnfläche bei Wohngebäuden, Nutzfläche bei Gewerbegebäuden")
|
||||
flaeche Int?
|
||||
flaeche Float?
|
||||
/// @zod.describe("(energetische) Nutzfläche des Gebäudes. Bei Gewerbegebäuden entspricht Sie der Nutzfläche")
|
||||
nutzflaeche Int?
|
||||
nutzflaeche Float?
|
||||
/// @zod.describe("Falls das Gebäude energetisch saniert ist, sollte dieser Wert auf true stehen")
|
||||
saniert Boolean?
|
||||
/// @zod.describe("Ob ein Keller vorhanden, beheizt oder unbeheizt ist")
|
||||
|
||||
Reference in New Issue
Block a user