Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Fixed a typo in the SQL statement (#21872) (#22075)
Browse files Browse the repository at this point in the history
* Fixed a typo in the SQL statement

* Fixed additional two errors in the postgres database objects

(cherry picked from commit b610e55)

Co-authored-by: Lijun Wang <[email protected]>
  • Loading branch information
mergify[bot] and lijunwangs authored Dec 22, 2021
1 parent 9fbaaa5 commit 8f26c71
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions accountsdb-plugin-postgres/scripts/create_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ Create TYPE "TransactionErrorCode" AS ENUM (
'WouldExceedMaxAccountCostLimit',
'WouldExceedMaxBlockCostLimit',
'UnsupportedVersion',
'InvalidWritableAccount'
'InvalidWritableAccount',
'WouldExceedMaxAccountDataCostLimit'
);

CREATE TYPE "TransactionError" AS (
Expand Down Expand Up @@ -114,7 +115,7 @@ CREATE TYPE "TransactionMessage" AS (
);

CREATE TYPE "TransactionMessageAddressTableLookup" AS (
account_key: BYTEA[],
account_key BYTEA,
writable_indexes SMALLINT[],
readonly_indexes SMALLINT[]
);
Expand Down

0 comments on commit 8f26c71

Please sign in to comment.