You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
290 B
PHP
8 lines
290 B
PHP
<?php
|
|
// make the Passwort column in the User table longer to store more advanced hashes with salts
|
|
$res = sql_select("DESCRIBE `User` `Passwort`");
|
|
if ($res[0]['Type'] == 'varchar(40)') {
|
|
sql_query("ALTER TABLE `User` CHANGE `Passwort` `Passwort` VARCHAR(128) NULL");
|
|
$applied = true;
|
|
}
|