[ticket/17524] Do not hit MSSQL index key size limit of 900 bytes

MSSQL index size limitations are 16 key columns and 900 bytes
(prior to SQL Server 2016 (13.x)) and a maximum of 32 key columns
and a maximum index key size of 1,700 bytes (as of SQL Server 2016 (13.x)).

PHPBB-17524
This commit is contained in:
rxu 2025-06-10 21:33:24 +07:00
parent 993e637af9
commit 4bdf5ab6d2
No known key found for this signature in database
GPG key ID: 955F0567380E586A

View file

@ -26,9 +26,9 @@ class phpbb_dbal_migration_schema extends \phpbb\db\migration\migration
'COLUMNS' => [
'module_id' => ['UINT:3', NULL, 'auto_increment'],
'user_id' => ['ULINT', 0],
'endpoint' => ['TEXT', ''],
'endpoint' => ['VCHAR:220', ''],
'expiration_time' => ['TIMESTAMP', 0],
'p256dh' => ['VCHAR', ''],
'p256dh' => ['VCHAR:200', ''],
'auth' => ['VCHAR:100', ''],
],
'PRIMARY_KEY' => 'module_id',