first commit

This commit is contained in:
2025-11-06 16:40:32 +03:00
commit f0948a5b05
51 changed files with 13047 additions and 0 deletions
@@ -0,0 +1,18 @@
/*
Warnings:
- You are about to drop the column `sessionToken` on the `Session` table. All the data in the column will be lost.
- A unique constraint covering the columns `[token]` on the table `Session` will be added. If there are existing duplicate values, this will fail.
*/
-- DropIndex
DROP INDEX "Session_sessionToken_key";
-- AlterTable
ALTER TABLE "Session" DROP COLUMN "sessionToken",
ADD COLUMN "ipAddress" TEXT,
ADD COLUMN "token" TEXT,
ADD COLUMN "userAgent" TEXT;
-- CreateIndex
CREATE UNIQUE INDEX "Session_token_key" ON "Session"("token");