Server IP : 213.176.29.180  /  Your IP : 18.116.85.111
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/resources/api/../sql/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/webtaragh/public_html/whmcs/resources/api/../sql/upgrade850beta1.sql
-- Add new index (tblcreditcards_last_four) for last_four column in tblcreditcards
set @query = if ((SELECT count(INDEX_NAME) FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = database() AND TABLE_NAME = 'tblcreditcards' AND INDEX_NAME = 'tblcreditcards_last_four') = 0, 'CREATE INDEX `tblcreditcards_last_four` ON `tblcreditcards` (`last_four`(4))', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;