adds initial sqlx migration to set up db schema

This commit is contained in:
Sundog
2023-11-01 10:11:40 -04:00
parent 41a30d1855
commit 227f54e0e4
4 changed files with 799 additions and 3 deletions

11
DEVELOP.md Normal file
View File

@ -0,0 +1,11 @@
# Dev Notes
To develop against this project, you will need Rust 1.70 or greater installed.
You will want to install the `sqlx-cli` tool via Cargo: `cargo install sqlx-cli`
You will need to initialize a sqlite database store: `touch aural_isle.sqlite.db`
You will need to copy the example env file to .env: `cp env.example .env`
Then you should be able to run the initial database migrations: `sqlx migrate run`