/* Warnings: - The primary key for the `Anteilshaber` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `ApiRequests` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `Aufnahme` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `BedarfsausweisGewerbe` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `BedarfsausweisWohnen` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `Bild` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `Event` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `GEGEinpreisung` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `GEGNachweisGewerbe` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `GEGNachweisWohnen` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `Objekt` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `Rechnung` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `Tickets` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `Unterlage` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `VerbrauchsausweisGewerbe` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `VerbrauchsausweisWohnen` table will be changed. If it partially fails, the table could be left without primary key constraint. - The primary key for the `benutzer` table will be changed. If it partially fails, the table could be left without primary key constraint. */ -- AlterTable ALTER TABLE "Anteilshaber" DROP CONSTRAINT "Anteilshaber_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "Anteilshaber_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "ApiRequests" DROP CONSTRAINT "ApiRequests_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "ApiRequests_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "Aufnahme" DROP CONSTRAINT "Aufnahme_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "Aufnahme_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "BedarfsausweisGewerbe" DROP CONSTRAINT "BedarfsausweisGewerbe_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "BedarfsausweisGewerbe_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "BedarfsausweisWohnen" DROP CONSTRAINT "BedarfsausweisWohnen_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "BedarfsausweisWohnen_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "Bild" DROP CONSTRAINT "Bild_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "Bild_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "Event" DROP CONSTRAINT "Event_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "Event_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "GEGEinpreisung" DROP CONSTRAINT "GEGEinpreisung_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "GEGEinpreisung_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "GEGNachweisGewerbe" DROP CONSTRAINT "GEGNachweisGewerbe_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "GEGNachweisGewerbe_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "GEGNachweisWohnen" DROP CONSTRAINT "GEGNachweisWohnen_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "GEGNachweisWohnen_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "Objekt" DROP CONSTRAINT "Objekt_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "Objekt_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "Rechnung" DROP CONSTRAINT "Rechnung_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "Rechnung_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "Tickets" DROP CONSTRAINT "Tickets_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "Tickets_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "Unterlage" DROP CONSTRAINT "Unterlage_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "Unterlage_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "VerbrauchsausweisGewerbe" DROP CONSTRAINT "VerbrauchsausweisGewerbe_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "VerbrauchsausweisGewerbe_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "VerbrauchsausweisWohnen" DROP CONSTRAINT "VerbrauchsausweisWohnen_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "VerbrauchsausweisWohnen_pkey" PRIMARY KEY ("id"); -- AlterTable ALTER TABLE "benutzer" DROP CONSTRAINT "benutzer_pkey", ALTER COLUMN "id" SET DATA TYPE VARCHAR(10), ADD CONSTRAINT "benutzer_pkey" PRIMARY KEY ("id");