mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 20:08:55 +00:00
[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:
parent
993e637af9
commit
4bdf5ab6d2
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ class phpbb_dbal_migration_schema extends \phpbb\db\migration\migration
|
||||||
'COLUMNS' => [
|
'COLUMNS' => [
|
||||||
'module_id' => ['UINT:3', NULL, 'auto_increment'],
|
'module_id' => ['UINT:3', NULL, 'auto_increment'],
|
||||||
'user_id' => ['ULINT', 0],
|
'user_id' => ['ULINT', 0],
|
||||||
'endpoint' => ['TEXT', ''],
|
'endpoint' => ['VCHAR:220', ''],
|
||||||
'expiration_time' => ['TIMESTAMP', 0],
|
'expiration_time' => ['TIMESTAMP', 0],
|
||||||
'p256dh' => ['VCHAR', ''],
|
'p256dh' => ['VCHAR:200', ''],
|
||||||
'auth' => ['VCHAR:100', ''],
|
'auth' => ['VCHAR:100', ''],
|
||||||
],
|
],
|
||||||
'PRIMARY_KEY' => 'module_id',
|
'PRIMARY_KEY' => 'module_id',
|
||||||
|
|
Loading…
Add table
Reference in a new issue