hackclub / hackclub/nephthys

Database schema improvements

Open
#198 1 comment 0 reactions 0 assignees View on GitHub
codebase
Dominant language
Python
Stars
19
Forks
49
Avg merge
2d 21h
Merged PRs (30d)
6

Description

Now that we have migrations available, we can make some improvement/updates to the DB schema.

- [x] Slack IDs should be UNIQUE
- [x] Slack usernames aren't always unique in some edge cases - how to handle?
- [ ] Audit which things are nullable - maybe run a migration to fill in some values and make columns NOT NULL where appropriate?

Contributor guide

Open the contributing guide

Research direction

Review the existing migration history and database schema definitions first. Audit nullable columns and identify values that can be backfilled before making columns NOT NULL; done means the schema constraints are justified and the migration applies cleanly without invalid existing data.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
databases
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.