final touches for beta skymoney (at least i think)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
-- AddForeignKey
|
||||
ALTER TABLE "Transaction"
|
||||
ADD CONSTRAINT "Transaction_categoryId_fkey"
|
||||
FOREIGN KEY ("categoryId") REFERENCES "VariableCategory"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
||||
|
||||
-- AddForeignKey
|
||||
ALTER TABLE "Transaction"
|
||||
ADD CONSTRAINT "Transaction_planId_fkey"
|
||||
FOREIGN KEY ("planId") REFERENCES "FixedPlan"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
||||
Reference in New Issue
Block a user