6 lines
304 B
MySQL
6 lines
304 B
MySQL
|
-- DropForeignKey
|
||
|
ALTER TABLE "AccessPointStats" DROP CONSTRAINT "AccessPointStats_accessPointId_fkey";
|
||
|
|
||
|
-- AddForeignKey
|
||
|
ALTER TABLE "AccessPointStats" ADD CONSTRAINT "AccessPointStats_accessPointId_fkey" FOREIGN KEY ("accessPointId") REFERENCES "AccessPoint"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|