Closed Madgeniusblink closed 1 year ago
The same issue described in #299 I have tried to run cargo build without diesel run -> no issue But if run first diesel run -> "error applying hunk #1" and after it cargo build fails (because diesel changed that schema.rs)
Maybe the documentation is not full and we are trying to build in a wrong way the project.
Closing this issue as I found a workaround. Check @codedem comment on #299
So I followed the README to set up the indexer.
sudo apt install libpq-dev
-cargo install diesel_cli --no-default-features --features "postgres"
-diesel migration run
. this command failed witherror applying hunk #1
. I then manually copy-pasted SQL for this in PostgresAll of this worked fine. However, when I'm trying to run
cargo build --release
it gives the following error. Any help would be appreciated. Thank you!