Browse code

Expand password field from varchar(40) to varchar(255) as part of the eFiction 3 Mod upgrade

Clarissa Walker authored on 2026/09/17 09:48:53
Showing 1 changed files
... ...
@@ -297,6 +297,8 @@ elseif ($oldVersion[0] == 3 && $oldVersion[1] == 5 && $oldVersion[2] < 9)  // 3.
297 297
 			dbquery("INSERT INTO `".TABLEPREFIX."fanfiction_panels`(`panel_name`, `panel_title`, `panel_url`, `panel_level`, `panel_hidden`, `panel_type`, `panel_order`) VALUES( 'convert', 'Archive Conversion', '', '1', '0', 'A', '11')");
298 298
 		}
299 299
 
300
+		dbquery("ALTER TABLE `".TABLEPREFIX."fanfiction_authors` CHANGE `password` `password` varchar(255) NOT NULL DEFAULT '0'");
301
+
300 302
 		$set_359 = do_version_check_359();
301 303
 		if ($set_359)
302 304
 		{