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

Downgrade Base Fails #101

Open
Safewaan opened this issue Jun 7, 2023 · 0 comments
Open

Downgrade Base Fails #101

Safewaan opened this issue Jun 7, 2023 · 0 comments
Labels
fix involves fixing old code

Comments

@Safewaan
Copy link
Collaborator

Safewaan commented Jun 7, 2023

super low priority fix, but docker exec -it SHOW-backend /bin/bash -c "flask db downgrade base" fails. Here is the error message:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1969, in _exec_single_context
    cursor, str_statement, effective_parameters, context
  File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 920, in do_execute
    cursor.execute(statement, parameters)
psycopg2.errors.NotNullViolation: column "resident_first_name" contains null values
@Safewaan Safewaan added the fix involves fixing old code label Jun 7, 2023
@Safewaan Safewaan changed the title FIX: Downgrade Base Fails Downgrade Base Fails Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix involves fixing old code
Projects
None yet
Development

No branches or pull requests

1 participant