From 50f8cb7ed466b85f2ba43deb01743e176e07111f Mon Sep 17 00:00:00 2001 From: Praggle Date: Fri, 25 Mar 2022 17:36:00 +0100 Subject: [PATCH] Update m1_initial_schema.php Uname column should be varchar(255). Otherwise people which loginnames are longer than 25 characters cause an error ("Data too long for column 'uname' at row 1 [1407].") and can't login anymore. It should be 255 like in the username-column in phpbb_users. --- migrations/v31x/m1_initial_schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/v31x/m1_initial_schema.php b/migrations/v31x/m1_initial_schema.php index 4f49c2b..906eee0 100644 --- a/migrations/v31x/m1_initial_schema.php +++ b/migrations/v31x/m1_initial_schema.php @@ -95,7 +95,7 @@ public function update_schema() 'COLUMNS' => array( 'id' => array('UINT', null, 'auto_increment'), 'time' => array('TIMESTAMP', 0), - 'uname' => array('VCHAR:25', ''), + 'uname' => array('VCHAR:255', ''), 'ugroup' => array('UINT:11', 0), 'agent' => array('VCHAR:255', ''), 'ip_addr' => array('VCHAR:50', ''),