1
0

Basic transaction system

This commit is contained in:
Ahmed Al-Taiar
2023-11-14 18:54:44 -05:00
parent f6f01594ec
commit 8060e1e452
60 changed files with 2037 additions and 507 deletions

View File

@@ -0,0 +1,24 @@
/*
Warnings:
- You are about to drop the `PartTransaction` table. If the table is not empty, all the data it contains will be lost.
- You are about to drop the `Transaction` table. If the table is not empty, all the data it contains will be lost.
*/
-- DropForeignKey
ALTER TABLE "PartTransaction" DROP CONSTRAINT "PartTransaction_partId_fkey";
-- DropForeignKey
ALTER TABLE "PartTransaction" DROP CONSTRAINT "PartTransaction_transactionId_fkey";
-- DropForeignKey
ALTER TABLE "Transaction" DROP CONSTRAINT "Transaction_userId_fkey";
-- DropTable
DROP TABLE "PartTransaction";
-- DropTable
DROP TABLE "Transaction";
-- DropEnum
DROP TYPE "TransactionType";