Use type safe query! macro for database retrieval of states

This commit is contained in:
binarybaron 2023-11-12 14:50:00 +01:00
parent 6f2ec2e373
commit 6c75f59ba1
3 changed files with 23 additions and 4 deletions

View file

@ -2,6 +2,7 @@
# run this script from the swap dir
# make sure you have sqlx-cli installed: cargo install sqlx-cli
# it's advised for the sqlx-cli to be the same version as specified in cargo.toml
# this script creates a temporary sqlite database
# then runs the migration scripts to create the tables (migrations folder)