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

sql code to fix #201

Open
tttp opened this issue Apr 10, 2023 · 1 comment
Open

sql code to fix #201

tttp opened this issue Apr 10, 2023 · 1 comment

Comments

@tttp
Copy link
Member

tttp commented Apr 10, 2023

I'm not sure where it is....

(Postgrex.Error ERROR 42703 (undefined_column) column m0.testing does not exist

query: DELETE FROM "messages" AS m0 USING "actions" AS a1 WHERE (a1."id" = m0."action_id") AND ((((a1."processing_status" = 4) AND m0."testing") AND m0."sent") AND (a1."inserted_at" < $1))

hint: Perhaps you meant to reference the column "a1.testing".)
@tttp
Copy link
Member Author

tttp commented Apr 10, 2023

workaround:
alter table messages add column testing boolean not null default false;

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

2 participants