mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 07:43:16 +10:00
19 lines
778 B
SQL
19 lines
778 B
SQL
/*
|
|
Warnings:
|
|
|
|
- You are about to drop the column `expires` on the `Session` table. All the data in the column will be lost.
|
|
- Added the required column `expiresAt` to the `Session` table without a default value. This is not possible if the table is not empty.
|
|
- Added the required column `updatedAt` to the `Session` table without a default value. This is not possible if the table is not empty.
|
|
|
|
*/
|
|
-- AlterTable
|
|
ALTER TABLE "Account" ADD COLUMN "password" TEXT;
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "Session" DROP COLUMN "expires",
|
|
ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
ADD COLUMN "expiresAt" TIMESTAMP(3) NOT NULL,
|
|
ADD COLUMN "ipAddress" TEXT,
|
|
ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL,
|
|
ADD COLUMN "userAgent" TEXT;
|