Server IP : 213.176.29.180  /  Your IP : 3.138.102.163
Web Server : Apache
System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
User : webtaragh ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/webtaragh/public_html/whmcs/crons/../resources/sql/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/webtaragh/public_html/whmcs/crons/../resources/sql/upgrade810rc1.sql
-- Add new index to tbllog_register for namespace_id
set @query = if ((select count(*) from information_schema.statistics where table_schema=database() and table_name='tbllog_register' and column_name='namespace_id') = 0, 'CREATE INDEX tbllog_register_namespace_id_index ON tbllog_register (namespace_id);', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new index to tbllog_register for namespace
set @query = if ((select count(*) from information_schema.statistics where table_schema=database() and table_name='tbllog_register' and column_name='namespace') = 0, 'CREATE INDEX tbllog_register_namespace_index ON tbllog_register (namespace(32));', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new index to tbllog_register for created_at
set @query = if ((select count(*) from information_schema.statistics where table_schema=database() and table_name='tbllog_register' and column_name='created_at') = 0, 'CREATE INDEX tbllog_register_created_at_index ON tbllog_register (created_at);', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;