Rework authentication

This commit is contained in:
Aslan 2026-01-01 17:06:31 +01:00
parent a85330e8cf
commit c07d33bcc9
17 changed files with 317 additions and 128 deletions

View file

@ -0,0 +1,10 @@
/*
Warnings:
- You are about to drop the column `token` on the `Session` table. All the data in the column will be lost.
- Added the required column `cookie` to the `Session` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "Session" DROP COLUMN "token",
ADD COLUMN "cookie" TEXT NOT NULL;