Eingabe Heizung
This commit is contained in:
28
prisma/migrations/20250514181747_/migration.sql
Normal file
28
prisma/migrations/20250514181747_/migration.sql
Normal file
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- The values [Pellet_bis_105kW_nach_1994] on the enum `Brennwertkessel` will be removed. If these variants are still used in the database, this will fail.
|
||||
|
||||
*/
|
||||
-- CreateEnum
|
||||
CREATE TYPE "Biomassekessel" AS ENUM ('Bitte_auswaehlen', 'Brennwertkessel_Pellet_bis_105kW_nach_1994', 'Standardkessel_Pellet_Hackschnitzelkessel_nach_1994');
|
||||
|
||||
-- CreateEnum
|
||||
CREATE TYPE "Waermepumpe" AS ENUM ('Bitte_auswaehlen', 'Luft_Wasser_Waermepumpe_w_7', 'Luft_Wasser_Waermepumpe_w2', 'Luft_Wasser_Waermepumpe_w7', 'Sole_Wasser_Waermepumpe', 'Wasser_Wasser_Waermepumpe');
|
||||
|
||||
-- CreateEnum
|
||||
CREATE TYPE "Umlaufwasserheizer" AS ENUM ('Bitte_auswaehlen', 'Umlaufwasserheizer_vor_1987', 'Kombikessel_mit_Kleinspeicher_nach_1994', 'Kombikessel_ohne_Kleinspeicher_nach_1994');
|
||||
|
||||
-- CreateEnum
|
||||
CREATE TYPE "Fernwaerme" AS ENUM ('Bitte_auswaehlen', 'Fernwaerme_Heizkraftwerk_fossil', 'Fernwaerme_Heizkraftwerk_erneuerbar', 'Fernwaerme_Blockheizkraftwerk_fossil', 'Fernwaerme_Blockheizkraftwerk_erneuerbar', 'Primaerenergiefaktor_eingeben');
|
||||
|
||||
-- CreateEnum
|
||||
CREATE TYPE "Blockheizkraftwerk" AS ENUM ('KWK_Erdgas', 'KWK_Heizoel');
|
||||
|
||||
-- AlterEnum
|
||||
BEGIN;
|
||||
CREATE TYPE "Brennwertkessel_new" AS ENUM ('Bitte_auswaehlen', 'GasHeizoel_vor_1987', 'GasHeizoel_von_1987_bis_1994', 'GasHeizoel_von_1995_bis_1999', 'GasHeizoel_nach_1999', 'Brennwertkessel_Pellet_bis_105kW_nach_1994');
|
||||
ALTER TYPE "Brennwertkessel" RENAME TO "Brennwertkessel_old";
|
||||
ALTER TYPE "Brennwertkessel_new" RENAME TO "Brennwertkessel";
|
||||
DROP TYPE "Brennwertkessel_old";
|
||||
COMMIT;
|
||||
5
prisma/migrations/20250517085219_/migration.sql
Normal file
5
prisma/migrations/20250517085219_/migration.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
-- CreateEnum
|
||||
CREATE TYPE "Direktheizung" AS ENUM ('Bitte_auswaehlen', 'Elektro_Direktheizung_PI_Regler_mit_Optimierung', 'Elektro_Direktheizung_P_Regler_1K', 'Speicherheizung_ungeregelt', 'Speicherheizung_P_Regler_1K', 'Speicherheizung_PID_Regler');
|
||||
|
||||
-- CreateEnum
|
||||
CREATE TYPE "Rohrnetztyp" AS ENUM ('Bitte_auswaehlen', 'I_Etagenringtyp', 'IIa_Etagenverteilertyp_Heizkoerper', 'IIb_Etagenverteilertyp_Fussbodenheizung', 'III_Steigestrangtyp', 'IV_Strahlungs_und_Luftheizung');
|
||||
2
prisma/migrations/20250517090734_/migration.sql
Normal file
2
prisma/migrations/20250517090734_/migration.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "BedarfsausweisWohnen" ADD COLUMN "rohrnetztyp_18599" "Rohrnetztyp" NOT NULL DEFAULT 'Bitte_auswaehlen';
|
||||
2
prisma/migrations/20250517104902_/migration.sql
Normal file
2
prisma/migrations/20250517104902_/migration.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "BedarfsausweisWohnen" ADD COLUMN "planungswerte_bauteil" JSONB;
|
||||
2
prisma/migrations/20250517140554_/migration.sql
Normal file
2
prisma/migrations/20250517140554_/migration.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "BedarfsausweisWohnen" ADD COLUMN "planungswerte_heizung" JSONB;
|
||||
2
prisma/migrations/20250517144443_/migration.sql
Normal file
2
prisma/migrations/20250517144443_/migration.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "BedarfsausweisWohnen" ALTER COLUMN "planungswerte_heizung" SET DEFAULT '[{}]';
|
||||
13
prisma/migrations/20250518152713_/migration.sql
Normal file
13
prisma/migrations/20250518152713_/migration.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `rohrnetztyp_18599` on the `BedarfsausweisWohnen` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `waerme_erzeugung_heizung_18599` on the `BedarfsausweisWohnen` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `waerme_erzeugung_heizung_art_18599` on the `BedarfsausweisWohnen` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "BedarfsausweisWohnen" DROP COLUMN "rohrnetztyp_18599",
|
||||
DROP COLUMN "waerme_erzeugung_heizung_18599",
|
||||
DROP COLUMN "waerme_erzeugung_heizung_art_18599",
|
||||
ALTER COLUMN "planungswerte_bauteil" SET DEFAULT '[{}]';
|
||||
Reference in New Issue
Block a user