Increase column size to allow for approx 10x as many online accounts in each block.

This commit is contained in:
CalDescent 2022-06-13 22:51:48 +01:00
parent 8b3f9db497
commit e992f6b683

View File

@ -964,6 +964,11 @@ public class HSQLDBDatabaseUpdates {
stmt.execute("DROP TABLE ArbitraryPeers");
break;
case 42:
// We need more space for online accounts
stmt.execute("ALTER TABLE Blocks ALTER COLUMN online_accounts SET DATA TYPE VARBINARY(10240)");
break;
default:
// nothing to do
return false;