test(sandbox): add repository testing
This commit is contained in:
parent
3d93beb5bd
commit
bbec0fc3bf
15 changed files with 545 additions and 124 deletions
10
README.md
10
README.md
|
|
@ -38,6 +38,16 @@ Will be used in [minauthator](https://forge.lefuturiste.fr/mbess/minauthator).
|
|||
|
||||
cargo run --bin sqlx-generator -- ./path/to/project generate-create-migrations > migrations/all.sql
|
||||
|
||||
sqlx-generator \
|
||||
-m path/to/models \
|
||||
gen-repositories \
|
||||
-o path/to/repositories
|
||||
|
||||
sqlx-generator \
|
||||
-m path/to/models \
|
||||
gen-migrations \
|
||||
-o path/to/migrations/all.sql
|
||||
|
||||
### Generate repositories code
|
||||
|
||||
not implemented yet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue