Skip to content

feat: Create AnonymousUser model and connect to Project #9

@iamanishsrivastava

Description

@iamanishsrivastava

Create AnonymousUser model and connect to Project

🚀 Feature Request

Define an AnonymousUser model in the Prisma schema to support users who interact without registering.


🎯 Motivation

We want to support a frictionless "try-before-signup" flow. This model is the backend anchor for anonymous usage tracking.


🧩 Solution or Approach

  • Add AnonymousUser model with UUID
  • Update Project model to include optional anonymousUserId
  • Run Prisma migration after update

✅ Acceptance Criteria

  • AnonymousUser model exists in Prisma schema
  • Project has an optional anonymousUserId FK
  • Migration applies without error

🔀 Related Branch

feat/anon-schema-setup

Metadata

Metadata

Labels

enhancementNew feature or request

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions