seperate delivery and billig adresses in contract added

This commit is contained in:
2026-02-04 08:48:25 +01:00
parent 88e5f47158
commit a55b58265b
15 changed files with 922 additions and 216 deletions
@@ -0,0 +1,5 @@
-- AlterTable
ALTER TABLE `Contract` ADD COLUMN `billingAddressId` INTEGER NULL;
-- AddForeignKey
ALTER TABLE `Contract` ADD CONSTRAINT `Contract_billingAddressId_fkey` FOREIGN KEY (`billingAddressId`) REFERENCES `Address`(`id`) ON DELETE SET NULL ON UPDATE CASCADE;