Skip to content

Commit

Permalink
fix: revert migration change and add new migration in stead
Browse files Browse the repository at this point in the history
  • Loading branch information
bredamatt committed Feb 6, 2025
1 parent cd5ff4a commit 214c6b7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
CREATE TABLE IF NOT EXISTS node_public_key_rotations (
node_small_id BIGINT PRIMARY KEY,
public_key_bytes BYTEA UNIQUE NOT NULL,
tee_quote_bytes BYTEA NOT NULL,
tee_provider BYTEA NOT NULL,
tdx_quote_bytes BYTEA NOT NULL,
epoch BIGINT NOT NULL
);
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- Create tasks table
CREATE TABLE IF NOT EXISTS node_public_key_rotations (
node_small_id BIGINT PRIMARY KEY,
public_key_bytes BYTEA UNIQUE NOT NULL,
tee_quote_bytes BYTEA NOT NULL,
tee_provider BYTEA NOT NULL,
epoch BIGINT NOT NULL
);

0 comments on commit 214c6b7

Please sign in to comment.