initial commit

This commit is contained in:
2026-04-04 22:13:55 -04:00
commit 5d77e207c9
10181 changed files with 522212 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
-- AlterTable
ALTER TABLE "Appointment" ADD COLUMN "procedureCodeNotes" TEXT;
-- CreateTable
CREATE TABLE "NpiProvider" (
"id" SERIAL NOT NULL,
"userId" INTEGER NOT NULL,
"npiNumber" TEXT NOT NULL,
"providerName" TEXT NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT "NpiProvider_pkey" PRIMARY KEY ("id")
);
-- CreateIndex
CREATE INDEX "NpiProvider_userId_idx" ON "NpiProvider"("userId");
-- CreateIndex
CREATE UNIQUE INDEX "NpiProvider_userId_npiNumber_key" ON "NpiProvider"("userId", "npiNumber");
-- AddForeignKey
ALTER TABLE "NpiProvider" ADD CONSTRAINT "NpiProvider_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE;