WIP: feat: one-to-many relation helper
This commit is contained in:
parent
32ef1f7b33
commit
bdcbccee71
23 changed files with 662 additions and 99 deletions
|
|
@ -1,8 +1,12 @@
|
|||
# Children justfile
|
||||
|
||||
reset-db *args:
|
||||
rm sandbox.db
|
||||
sqlite3 {{args}} sandbox.db < src/migrations/all.sql
|
||||
touch tmp/db.db
|
||||
rm tmp/db.db
|
||||
sqlite3 {{args}} tmp/db.db < src/migrations/all.sql
|
||||
|
||||
seed-db:
|
||||
sqlite3 tmp/db.db < src/migrations/all.sql
|
||||
|
||||
gen-sqlx:
|
||||
../../target/release/sqlx-generator \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue