You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clone repo git clone https://github.com/DioCrafts/oxicloud.git && cd oxicloud
Build release cargo build --release
Run cargo run --bin migrate
See error
➜ oxicloud git:(main) ✗ cargo run --bin migrate
error: no bin target named `migrate`.
Available bin targets:
oxicloud
Expected Behavior
Migrations are run on the database.
Environment
OS: Fedora
Browser: irrelevant
OxiCloud Version: 0.1.0
Rust Version: 1.84.0
Additional Context
I have a running postgres container but did not mount the schema
Possible Solution
I have no experience with sqlx so very limited idea of what's going on (and don't fully understand you spanish comments). To me it seems like create_database_pool should be run as it contains a query for fresh installations that creates a database schema https://github.com/DioCrafts/OxiCloud/blob/main/src/common/db.rs
So maybe it's enough to add an entrypoint for that?
The text was updated successfully, but these errors were encountered:
Description
Migrations can't be run/do not exist.
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/DioCrafts/oxicloud.git && cd oxicloud
cargo build --release
cargo run --bin migrate
Expected Behavior
Migrations are run on the database.
Environment
Additional Context
I have a running postgres container but did not mount the schema
Possible Solution
I have no experience with sqlx so very limited idea of what's going on (and don't fully understand you spanish comments). To me it seems like
create_database_pool
should be run as it contains a query for fresh installations that creates a database schema https://github.com/DioCrafts/OxiCloud/blob/main/src/common/db.rsSo maybe it's enough to add an entrypoint for that?
The text was updated successfully, but these errors were encountered: