Skip to content

error returned from database: relation "proof_generation_details" does not exist #759

Answered by perekopskiy
Apollaman asked this question in General
Discussion options

You must be logged in to vote

Hello @Apollaman. Can you please check what this query returns for your DB:

SELECT * FROM _sqlx_migrations
WHERE version = 20230810090211

Do you remember doing any manual actions with your DB, specifically deleting proof_generation_details table?
Anyway, to fix this issue please run these queries

CREATE TABLE IF NOT EXISTS proof_generation_details
(
    l1_batch_number         BIGINT PRIMARY KEY REFERENCES l1_batches (number) ON DELETE CASCADE,
    status                  TEXT      NOT NULL,
    proof_gen_data_blob_url TEXT      NOT NULL,
    proof_blob_url          TEXT,
    created_at              TIMESTAMP NOT NULL,
    updated_at              TIMESTAMP NOT NULL,
    prover_taken_at  …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dutterbutter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
General
Labels
general General question
2 participants