Skip to content

Conversation

@OpsEclipse
Copy link
Collaborator

Notion ticket link

Update Positions and Users Table to Support Archived Positions

Implementation description

  • Added positions.isArchived (boolean, NOT NULL, default false) via migration and Sequelize model.
  • Added users.isActive (boolean, NOT NULL, default true) via migration and Sequelize model.

Steps to test

  1. Run docker exec recruitment_tools_backend node migrate up.
  2. Verify positions has isArchived boolean not null default false (e.g. \d positions).
  3. Verify users has isActive boolean not null default true (e.g. \d users).

What should reviewers focus on?

  • Migration correctness (defaults + NOT NULL) and model parity.

Add archived/active flags to positions and users with defaults via migration
Apply Prettier formatting so lint passes for the new migration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant