initial commit - code moved to separate repo
This commit is contained in:
@ -0,0 +1,8 @@
|
||||
-- DropForeignKey
|
||||
ALTER TABLE `Report` DROP FOREIGN KEY `Report_locationId_fkey`;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE `Report` MODIFY `locationId` INTEGER NULL;
|
||||
|
||||
-- AddForeignKey
|
||||
ALTER TABLE `Report` ADD CONSTRAINT `Report_locationId_fkey` FOREIGN KEY (`locationId`) REFERENCES `Location`(`id`) ON DELETE SET NULL ON UPDATE CASCADE;
|
Reference in New Issue
Block a user