Skip to content

Commit

Permalink
Merge pull request #2230 from MonsieurNicolas/fixSchemaSizes
Browse files Browse the repository at this point in the history
fix max size of base64 encoded columns
  • Loading branch information
MonsieurNicolas committed Aug 15, 2019
2 parents c5fb1e3 + 17d7e7b commit c1937d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ledger/LedgerTxnAccountSQL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ LedgerTxnRoot::Impl::dropAccounts()
"numsubentries INT NOT NULL CHECK (numsubentries >= "
"0),"
"inflationdest VARCHAR(56),"
"homedomain VARCHAR(32) NOT NULL,"
"homedomain VARCHAR(44) NOT NULL,"
"thresholds TEXT NOT NULL,"
"flags INT NOT NULL,"
"signers TEXT,"
Expand Down
2 changes: 1 addition & 1 deletion src/ledger/LedgerTxnDataSQL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ LedgerTxnRoot::Impl::dropData()
mDatabase.getSession() << "CREATE TABLE accountdata"
"("
"accountid VARCHAR(56) NOT NULL,"
"dataname VARCHAR(64) NOT NULL,"
"dataname VARCHAR(88) NOT NULL,"
"datavalue VARCHAR(112) NOT NULL,"
"lastmodified INT NOT NULL,"
"PRIMARY KEY (accountid, dataname)"
Expand Down

0 comments on commit c1937d0

Please sign in to comment.