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

Migration fails #450

Open
ctron opened this issue Jun 24, 2024 · 0 comments
Open

Migration fails #450

ctron opened this issue Jun 24, 2024 · 0 comments

Comments

@ctron
Copy link
Contributor

ctron commented Jun 24, 2024

2024-06-24T12:39:19.823447Z  WARN migrate: sqlx::query: slow statement: execution time exceeded alert threshold summary="ALTER TABLE \"advisory\" ADD …" db.statement="\n\nALTER TABLE\n  \"advisory\"\nADD\n  COLUMN \"uuid\" uuid UNIQUE DEFAULT gen_random_uuid()\n" rows_affected=0 rows_returned=0 elapsed=1.538194742s elapsed_secs=1.538194742 slow_threshold=1s self=Database { db: SqlxPostgresPoolConnection }
Error: Execution Error: error returned from database: column "advisory_uuid" of relation "advisory_vulnerability" contains null values
Caused by:
        error returned from database: column "advisory_uuid" of relation "advisory_vulnerability" contains null values
        error returned from database: column "advisory_uuid" of relation "advisory_vulnerability" contains null values
        column "advisory_uuid" of relation "advisory_vulnerability" contains null values

I think we should have a way to test this. I am just not sure "how" that would work.

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