Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing DB column error for cults query #7

Open
jayy-lmao opened this issue May 15, 2021 · 0 comments
Open

Missing DB column error for cults query #7

jayy-lmao opened this issue May 15, 2021 · 0 comments

Comments

@jayy-lmao
Copy link
Owner

There's a missing column issue with the db. Not sure what changed, but will have to go fix it.

api_1  | Connection is fine
db_1   | 2021-05-15 00:34:49.446 UTC [105] ERROR:  column "cult" does not exist at character 18
db_1   | 2021-05-15 00:34:49.446 UTC [105] STATEMENT:  SELECT id, name, cult FROM cults
api_1  | thread 'actix-rt:worker:2' panicked at 'called `Result::unwrap()` on an `Err` value: Error(Db(DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState("42703"), message: "column \"cult\" does not exist", detail: None, hint: None, position: Some(Normal(18)), where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("parse_relation.c"), line: Some(3359), routine: Some("errorMissingColumn") }))', src/data/cult/get_cult_all.rs:8:69
api_1  | stack backtrace:
api_1  |    0: rust_begin_unwind
api_1  |              at ./rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panicking.rs:493:5
api_1  |    1: core::panicking::panic_fmt
api_1  |              at ./rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/core/src/panicking.rs:92:14
api_1  |    2: core::option::expect_none_failed
api_1  |              at ./rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/core/src/option.rs:1300:5
api_1  |    3: rust_graphql::data::cult::get_cult_all::get_cult_all
api_1  |    4: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
api_1  |    5: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
api_1  |    6: futures_util::stream::stream::StreamExt::poll_next_unpin
api_1  |    7: futures_util::stream::stream::StreamExt::poll_next_unpin
api_1  |    8: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
api_1  |    9: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
api_1  |   10: juniper::execute_async::{{closure}}
api_1  |   11: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
api_1  |   12: std::thread::local::LocalKey<T>::with
api_1  |   13: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
api_1  |   14: <actix_web::handler::HandlerServiceResponse<T,R> as core::future::future::Future>::poll
api_1  |   15: <actix_web::handler::ExtractResponse<T,S> as core::future::future::Future>::poll
api_1  |   16: <actix_web::handler::ExtractResponse<T,S> as core::future::future::Future>::poll
api_1  |   17: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
api_1  |   18: <core::pin::Pin<P> as core::future::future::Future>::poll
api_1  |   19: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
api_1  |   20: actix_http::h1::dispatcher::InnerDispatcher<T,S,B,X,U>::poll_response
api_1  |   21: <actix_http::h1::dispatcher::Dispatcher<T,S,B,X,U> as core::future::future::Future>::poll
api_1  |   22: <actix_service::and_then::AndThenServiceResponse<A,B> as core::future::future::Future>::poll
api_1  |   23: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
api_1  |   24: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
api_1  |   25: tokio::task::harness::Harness<T,S>::poll
api_1  |   26: tokio::task::local::Scheduler::tick
api_1  |   27: std::thread::local::LocalKey<T>::with
api_1  |   28: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
api_1  |   29: tokio::runtime::basic_scheduler::BasicScheduler<P>::block_on
api_1  |   30: tokio::runtime::context::enter
api_1  | note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant