Syasya a375f8a8f4
All checks were successful
PR Build Check / build (pull_request) Successful in 2m11s
Merge remote-tracking branch 'origin/master' into feature/syasya/testlayout
2025-08-21 16:47:22 +08:00

19 lines
546 B
SQL

/*
Warnings:
- You are about to drop the `EnergyData` table. If the table is not empty, all the data it contains will be lost.
- You are about to drop the `Site` table. If the table is not empty, all the data it contains will be lost.
*/
-- DropForeignKey
ALTER TABLE "public"."EnergyData" DROP CONSTRAINT "EnergyData_consumptionSiteId_fkey";
-- DropForeignKey
ALTER TABLE "public"."EnergyData" DROP CONSTRAINT "EnergyData_generationSiteId_fkey";
-- DropTable
DROP TABLE "public"."EnergyData";
-- DropTable
DROP TABLE "public"."Site";