Skip to content

Commit

Permalink
fix db type (#2093)
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene authored Oct 17, 2024
1 parent 2f8fce2 commit 19a6e4f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions go/enclave/storage/init/edgelessdb/001_init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ create table if not exists tendb.tx
hash binary(32) NOT NULL,
content mediumblob NOT NULL,
to_address int,
type int8 NOT NULL,
type SMALLINT NOT NULL,
sender_address int NOT NULL,
idx int NOT NULL,
batch_height int NOT NULL,
Expand All @@ -102,12 +102,12 @@ create table if not exists tendb.receipt
(
id INTEGER AUTO_INCREMENT,
post_state binary(32),
status int not null,
cumulative_gas_used int not null,
effective_gas_price int,
status TINYINT not null,
cumulative_gas_used BIGINT not null,
effective_gas_price BIGINT,
created_contract_address binary(20),
tx int,
batch int NOT NULL,
batch int NOT NULL,
INDEX (batch),
INDEX (tx, batch),
primary key (id)
Expand Down

0 comments on commit 19a6e4f

Please sign in to comment.