45 lines
2.0 KiB
SQL
45 lines
2.0 KiB
SQL
/*
|
|
Warnings:
|
|
|
|
- You are about to drop the column `ausstellungsdatum` on the `Aufnahme` table. All the data in the column will be lost.
|
|
- You are about to drop the column `ausweisart` on the `Aufnahme` table. All the data in the column will be lost.
|
|
- You are about to drop the column `boxpruefung` on the `Aufnahme` table. All the data in the column will be lost.
|
|
- You are about to drop the column `brennstoff_1` on the `Aufnahme` table. All the data in the column will be lost.
|
|
- You are about to drop the column `brennstoff_2` on the `Aufnahme` table. All the data in the column will be lost.
|
|
- You are about to drop the column `energieeffizienzklasse` on the `Aufnahme` table. All the data in the column will be lost.
|
|
- You are about to drop the column `uid` on the `Bild` table. All the data in the column will be lost.
|
|
- You are about to drop the column `keller_beheizt` on the `VerbrauchsausweisWohnen` table. All the data in the column will be lost.
|
|
|
|
*/
|
|
-- DropIndex
|
|
DROP INDEX "Bild_uid_key";
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "Aufnahme" DROP COLUMN "ausstellungsdatum",
|
|
DROP COLUMN "ausweisart",
|
|
DROP COLUMN "boxpruefung",
|
|
DROP COLUMN "brennstoff_1",
|
|
DROP COLUMN "brennstoff_2",
|
|
DROP COLUMN "energieeffizienzklasse";
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "BedarfsausweisWohnen" ADD COLUMN "ausstellungsdatum" TIMESTAMP(3),
|
|
ADD COLUMN "boxpruefung" BOOLEAN DEFAULT false,
|
|
ADD COLUMN "energieeffizienzklasse" VARCHAR(5);
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "Bild" DROP COLUMN "uid";
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "VerbrauchsausweisGewerbe" ADD COLUMN "ausstellungsdatum" TIMESTAMP(3),
|
|
ADD COLUMN "boxpruefung" BOOLEAN DEFAULT false,
|
|
ADD COLUMN "energieeffizienzklasse" VARCHAR(5);
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "VerbrauchsausweisWohnen" DROP COLUMN "keller_beheizt",
|
|
ADD COLUMN "ausstellungsdatum" TIMESTAMP(3),
|
|
ADD COLUMN "boxpruefung" BOOLEAN DEFAULT false,
|
|
ADD COLUMN "brennstoff_1" VARCHAR(50),
|
|
ADD COLUMN "brennstoff_2" VARCHAR(50),
|
|
ADD COLUMN "energieeffizienzklasse" VARCHAR(5);
|