diff --git a/accountsdb-plugin-postgres/scripts/create_schema.sql b/accountsdb-plugin-postgres/scripts/create_schema.sql index 58429fabb94cb4..d62c7e31ab71e9 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[] );