Skip to content

Commit

Permalink
Code review fix: single migration file
Browse files Browse the repository at this point in the history
  • Loading branch information
pbeza committed Aug 8, 2024
1 parent 787bc8d commit caea7a5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ALTER TABLE tee_verifier_input_producer_jobs ADD COLUMN picked_by TEXT;

ALTER TABLE tee_proof_generation_details DROP CONSTRAINT tee_proof_generation_details_pkey;
ALTER TABLE tee_proof_generation_details ALTER COLUMN tee_type DROP NOT NULL;
ALTER TABLE tee_proof_generation_details ADD PRIMARY KEY (l1_batch_number);
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ALTER TABLE tee_verifier_input_producer_jobs DROP COLUMN picked_by;

ALTER TABLE tee_proof_generation_details DROP CONSTRAINT tee_proof_generation_details_pkey;
UPDATE tee_proof_generation_details SET tee_type = 'sgx' WHERE tee_type IS NULL;
ALTER TABLE tee_proof_generation_details ALTER COLUMN tee_type SET NOT NULL;
Expand Down

0 comments on commit caea7a5

Please sign in to comment.