2022-04-18 15:19:07 -05:00

6 lines
199 B
SQL

-- AlterTable
ALTER TABLE "Item" ADD COLUMN "fwdUserId" INTEGER;
-- AddForeignKey
ALTER TABLE "Item" ADD FOREIGN KEY ("fwdUserId") REFERENCES "users"("id") ON DELETE SET NULL ON UPDATE CASCADE;