Skip to content

Commit

Permalink
Fixed a typo in the SQL statement (solana-labs#21872)
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
  • Loading branch information
lijunwangs authored Dec 14, 2021
1 parent e19c792 commit b610e55
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 b610e55

Please sign in to comment.