diff --git a/Source/Source.php b/Source/Source.php index e96640d..a047ee5 100644 --- a/Source/Source.php +++ b/Source/Source.php @@ -195,6 +195,7 @@ user_id I NOTNULL UNSIGNED PRIMARY, username C(64) NOTNULL DEFAULT \" '' \" " ) ), + array( 'CreateIndexSQL', array( 'idx_user_username', plugin_table( 'user' ), 'username', array( 'UNIQUE' ) ) ), ); }