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

Error Running Migrations #3821

Open
mvryan opened this issue May 22, 2023 · 1 comment
Open

Error Running Migrations #3821

mvryan opened this issue May 22, 2023 · 1 comment

Comments

@mvryan
Copy link

mvryan commented May 22, 2023

When Applying the Django migrations on a clean database (the docker based solution) I get an error when running
search.0014_additional_transaction_search_cols

It complains that
psycopg2.errors.UndefinedTable: relation "transaction_search" does not exist

Looking at the tables that do get created it seems transaction_search isn't there

Screen Shot 2023-05-22 at 2 08 45 PM

I reviewed the migrations and it looks like nothing is being skipped

  Applying search.0001_initial... OK
  Applying search.0002_auto_20210121_2235... OK
  Applying search.0003_auto_20210629_1550... OK
  Applying search.0004_transactionsearch_award_date_signed... OK
  Applying search.0005_transactionsearch_recipient_uei... OK
  Applying search.0006_auto_20220113_1658... OK
  Applying search.0007_transactionsearch_parent_uei... OK
  Applying search.0008_awardsearch_table... OK
  Applying search.0009_awardsearch_view_drop... OK
  Applying search.0010_subaward_search... OK
  Applying search.0011_alter_summarystateview_options... OK
  Applying search.0012_removing_subaward_models... OK
  Applying search.0013_subaward_search_schema... OK
  Applying search.0014_additional_transaction_search_cols...Traceback (most recent call last):

Any advice would be great. Thanks.

(EDIT:
It looks like it should be in this migrations search.0002_auto_20210121_2235


)

@ntstech
Copy link

ntstech commented Aug 12, 2024

Did you ever find the issue - I am having the same issue on new install

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