-- CreateEnum
CREATE TYPE "UserStatus" AS ENUM ('Active', 'Frozen', 'Deleted');

-- AlterTable
ALTER TABLE "users" ADD COLUMN     "lastLogin" TIMESTAMP(3),
ADD COLUMN     "status" "UserStatus" NOT NULL DEFAULT 'Active';

-- CreateIndex
CREATE INDEX "users_status_idx" ON "users"("status");
