Skip to content

[Issue]: Database schema: users and roles #14

Open

Description

@MariyaSamrout

Branch Name

feature/14-users-roles

Task

Description
Design the tables for users and roles, matching the department-based role model used for permissions. For DB schemas we use https://dbdiagram.io/

Scope

  • users table
  • roles table
  • Relationship between users and roles
  • Migration

Acceptance Criteria

  • The tables support the roles defined for the app
  • The migration applies cleanly on an empty database
  • Relationships and constraints are in place

Checklist

  • I have checked for duplicate issues.
  • I have assigned the issue to the correct project board.
  • I have tagged the issue properly.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added this to the Sprint - 1 milestone on Oct 25, 2026
  2. lauriechammah commented on Oct 26, 2026

    @lauriechammah
    Collaborator

    Review comments:

    • Acceptance criteria should be checkboxes (- [ ]) so progress can be tracked.
    • For DB schemas we use https://dbdiagram.io/ , please add the link to the description.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions