README päivitetty

This commit is contained in:
2025-06-16 19:08:49 +03:00
parent a077b3b95a
commit 5265037add
2 changed files with 12 additions and 1 deletions

11
README.md Normal file
View File

@@ -0,0 +1,11 @@
Muuta .env psql portti järkeväksi
cargo run
## Migraatiot
Asenna diesel-cli
Muuta migrations_directory osoittamaan oikeaan paikkaan diesel.tomlissa.
diesel migration run

View File

@@ -6,4 +6,4 @@ file = "src/schema.rs"
custom_type_derives = ["diesel::query_builder::QueryId", "Clone"] custom_type_derives = ["diesel::query_builder::QueryId", "Clone"]
[migrations_directory] [migrations_directory]
dir = "/home/jani-pulkkinen/RustroverProjects/lootakalenteri-backend/migrations" dir = "<koodi kansion koko polku>/lootakalenteri-backend/migrations"