Skip to content

Create Projects Module & Schema #37

@ayshadogo

Description

@ayshadogo

Description:
Setup projects module and define complete database schema.

Tasks:

  • Generate projects module: nest g module projects
  • Create entity schema for projects table
  • Define all fields from requirements : [projectName, projectDesc, projectImage, Donations, Status, Progress, ]
  • Add relations to users (creator)
  • Add status enum: PENDING, APPROVED, REJECTED, ACTIVE, COMPLETED
  • Add category enum: HEALTH, EDUCATION, DISASTER_RELIEF, etc.
  • Run migration

Acceptance Criteria:

  • Projects table created with all fields
  • Foreign key to users table
  • Proper indexes on creator_id and status
  • Enums are properly defined

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions