Skip to content

Commit

Permalink
fix: Also the qldb backing kv
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Roberts <ryan@blockchaintp.com>
  • Loading branch information
ryan-s-roberts committed Aug 15, 2022
1 parent b1ca670 commit 9216a3d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/main/resources/migrations/store/V1__kv_init.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
create extension pgcrypto;
create table kv (
id bytea primary key not null,
id serial primary key,
address bytea not null,
data bytea not null
);

CREATE INDEX kv_idx ON kv(id);
create unique index unique_addr_index on kv(sha512(address));

0 comments on commit 9216a3d

Please sign in to comment.