Fixed a typo in the SQL statement (#21872)

* Fixed a typo in the SQL statement

* Fixed additional two errors in the postgres database objects
This commit is contained in:
Lijun Wang 2021-12-14 08:26:59 -08:00 committed by GitHub
parent e19c7923c3
commit b610e5503e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -47,7 +47,8 @@ Create TYPE "TransactionErrorCode" AS ENUM (
'WouldExceedMaxAccountCostLimit',
'WouldExceedMaxBlockCostLimit',
'UnsupportedVersion',
'InvalidWritableAccount'
'InvalidWritableAccount',
'WouldExceedMaxAccountDataCostLimit'
);
CREATE TYPE "TransactionError" AS (
@ -114,7 +115,7 @@ CREATE TYPE "TransactionMessage" AS (
);
CREATE TYPE "TransactionMessageAddressTableLookup" AS (
account_key: BYTEA[],
account_key BYTEA,
writable_indexes SMALLINT[],
readonly_indexes SMALLINT[]
);