Skip to content

task(users): create User entity and initial migration #10

Description

@a-malik-gh

Module

users

Background & context

The User entity represents individuals interacting with OpenCred.

Users may act as:

  • credential holders
  • issuers
  • administrators

This entity will later connect to credentials, wallet authentication, and verification systems.

The initial entity should prioritize clean schema design and future extensibility.

Acceptance criteria

  • A User entity is created using TypeORM
  • The entity includes wallet address support
  • Timestamps are included (createdAt, updatedAt)
  • A migration file is generated
  • Wallet address uniqueness is enforced
  • Entity naming conventions follow project standards
  • Unit tests validate entity constraints where applicable

Files to edit

  • A User entity is created using TypeORM
  • The entity includes wallet address support
  • Timestamps are included (createdAt, updatedAt)
  • A migration file is generated
  • Wallet address uniqueness is enforced
  • Entity naming conventions follow project standards
  • Unit tests validate entity constraints where applicable

Helpful resources

Estimated difficulty

Medium — some domain knowledge required

Metadata

Metadata

Assignees

No one assigned

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions