From: Michael Date: Wed, 21 Aug 2019 06:18:32 +0000 (+0000) Subject: Fix table structure definition X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e430b074ce48ad288497d639e39f5d572ab4c1c0;p=friendica.git Fix table structure definition --- diff --git a/static/dbstructure.config.php b/static/dbstructure.config.php index a00d957273..7a33a22b53 100755 --- a/static/dbstructure.config.php +++ b/static/dbstructure.config.php @@ -44,13 +44,13 @@ return [ "id" => ["type" => "mediumint unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1", "comment" => "Password ID for revocation"], "uid" => ["type" => "mediumint unsigned", "not null" => "1", "relation" => ["user" => "uid"], "comment" => "User ID"], "description" => ["type" => "varchar(255)", "comment" => "Description of the usage of the password"], - "hashed_password" => ["type" => "varchar(255)", "not null" => "1", "primary" => "1", "comment" => "Hashed password"], + "hashed_password" => ["type" => "varchar(255)", "not null" => "1", "comment" => "Hashed password"], "generated" => ["type" => "datetime", "not null" => "1", "comment" => "Datetime the password was generated"], "last_used" => ["type" => "datetime", "comment" => "Datetime the password was last used"], ], "indexes" => [ "PRIMARY" => ["id"], - "uid_description" => ["uid", "description"], + "uid_description" => ["uid", "description(190)"], ] ], "2fa_recovery_codes" => [