2024-12-27 23:00:38 +01:00
|
|
|
# TODO
|
|
|
|
|
|
|
|
|
|
- CREATE TABLE migration
|
|
|
|
|
- add unit tests
|
|
|
|
|
- add custom table name attribute
|
|
|
|
|
- add automagically generated CHECK constraints on enum type field
|
|
|
|
|
- support foreign key CHECK constraints
|
|
|
|
|
|
2025-07-31 17:15:00 +02:00
|
|
|
- [x] Repositories generation
|
2024-12-27 23:05:15 +01:00
|
|
|
- default CRUD boilerplate
|
|
|
|
|
- get_all
|
|
|
|
|
- get_by_id
|
2025-07-31 17:15:00 +02:00
|
|
|
- get_many_by_ids
|
2024-12-27 23:05:15 +01:00
|
|
|
- insert
|
|
|
|
|
- update
|
2025-07-31 17:15:00 +02:00
|
|
|
- delete_by_id
|
2024-12-27 23:05:15 +01:00
|
|
|
- custom queries
|
|
|
|
|
|
2025-07-31 17:15:00 +02:00
|
|
|
- [ ] Config file for project
|
2024-12-27 23:05:15 +01:00
|
|
|
- configure models path
|
|
|
|
|
- configure repositories path
|
2025-07-31 17:15:00 +02:00
|
|
|
|
|
|
|
|
- [ ] Better errors
|
|
|
|
|
- Better support for lib like `thiserror`
|
|
|
|
|
- Don't export anyhow errors
|
|
|
|
|
|
|
|
|
|
- [ ] Support basic one to many, many to one, belongs to relationships
|
|
|
|
|
- [ ] Support generating inner join SQL query
|
|
|
|
|
- [ ] Better, cleaner migration support
|
|
|
|
|
|