tortoise / tortoise/tortoise-orm
Ability to have table without primary key (TimescaleDB hypertable support)
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 5.6k
- Forks
- 516
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 9
Description
Is your feature request related to a problem? Please describe.
It'd be nice if there was a way to get tortoise to work with TimescaleDB hypertables
Describe the solution you'd like
Ability to create tables without a primary key
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by tracing how Tortoise creates tables and enforces primary keys for PostgreSQL, then compare that path with the requirements for TimescaleDB hypertables. Done means a supported way to create a table without a primary key, with appropriate coverage for the affected schema behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, python
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100