From b610e5503e210ff7d0237d7417db0bba754d7cc4 Mon Sep 17 00:00:00 2001 From: Lijun Wang <83639177+lijunwangs@users.noreply.github.com> Date: Tue, 14 Dec 2021 08:26:59 -0800 Subject: [PATCH] Fixed a typo in the SQL statement (#21872) * Fixed a typo in the SQL statement * Fixed additional two errors in the postgres database objects --- accountsdb-plugin-postgres/scripts/create_schema.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/accountsdb-plugin-postgres/scripts/create_schema.sql b/accountsdb-plugin-postgres/scripts/create_schema.sql index 58429fabb..d62c7e31a 100644 --- a/accountsdb-plugin-postgres/scripts/create_schema.sql +++ b/accountsdb-plugin-postgres/scripts/create_schema.sql @@ -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[] );