first commit
This commit is contained in:
@@ -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");
|
||||
Reference in New Issue
Block a user