mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 19:08:53 +00:00
[ticket/17525] Avoid more index name duplication
PHPBB-17525
This commit is contained in:
parent
7b0b95250c
commit
5e2dcf9d8f
1 changed files with 22 additions and 2 deletions
|
@ -40,6 +40,9 @@ class rename_auth_role_id_index extends migration
|
|||
'poster_id' => 'attchmnts_poster_id',
|
||||
'topic_id' => 'attchmnts_topic_id',
|
||||
],
|
||||
$this->table_prefix . 'forums' => [
|
||||
'left_right_id' => 'frms_left_right_id',
|
||||
],
|
||||
$this->table_prefix . 'forums_watch' => [
|
||||
'forum_id' => 'frmswtch_forum_id',
|
||||
'user_id' => 'frmswtch_user_id',
|
||||
|
@ -55,10 +58,15 @@ class rename_auth_role_id_index extends migration
|
|||
$this->table_prefix . 'moderator_cache' => [
|
||||
'forum_id' => 'mdrtrcch_forum_id',
|
||||
],
|
||||
$this->table_prefix . 'modules' => [
|
||||
'left_right_id' => 'mdls_left_right_id',
|
||||
],
|
||||
$this->table_prefix . 'oauth_states' => [
|
||||
'provider' => 'oauthsts_provider',
|
||||
'user_id' => 'oauthsts_user_id',
|
||||
],
|
||||
$this->table_prefix . 'oauth_tokens' => [
|
||||
'provider' => 'oauthtkns_provider',
|
||||
'user_id' => 'oauthtkns_user_id',
|
||||
],
|
||||
$this->table_prefix . 'poll_options' => [
|
||||
|
@ -72,11 +80,23 @@ class rename_auth_role_id_index extends migration
|
|||
'poster_id' => 'psts_poster_id',
|
||||
'topic_id' => 'psts_topic_id',
|
||||
],
|
||||
$this->table_prefix . 'privmsgs' => [
|
||||
'author_id' => 'pms_author_id',
|
||||
],
|
||||
$this->table_prefix . 'privmsgs_folder' => [
|
||||
'user_id' => 'pmfldr_user_id',
|
||||
'user_id' => 'pmsfldr_user_id',
|
||||
],
|
||||
$this->table_prefix . 'privmsgs_rules' => [
|
||||
'user_id' => 'pmrls_user_id',
|
||||
'user_id' => 'pmsrls_user_id',
|
||||
],
|
||||
$this->table_prefix . 'privmsgs_to' => [
|
||||
'author_id' => 'pmsto_author_id',
|
||||
],
|
||||
$this->table_prefix . 'reports' => [
|
||||
'post_id' => 'rprts_post_id',
|
||||
],
|
||||
$this->table_prefix . 'search_wordmatch' => [
|
||||
'post_id' => 'wrdmtch_post_id',
|
||||
],
|
||||
$this->table_prefix . 'topics' => [
|
||||
'forum_id' => 'tpcs_forum_id',
|
||||
|
|
Loading…
Add table
Reference in a new issue