Server IP : 213.176.29.180 / Your IP : 18.117.94.221 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/views/../sql/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
-- blind_copy_to to tblemailtemplates set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblemailtemplates' and column_name='blind_copy_to') = 0, 'ALTER TABLE `tblemailtemplates` ADD `blind_copy_to` TEXT NOT NULL AFTER `copyto`', 'DO 0;'); prepare statement from @query; execute statement; deallocate prepare statement; -- hidden_widgets to tbladmins set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladmins' and column_name='hidden_widgets') = 0, 'ALTER TABLE `tbladmins` ADD `hidden_widgets` TEXT COLLATE utf8_unicode_ci NOT NULL AFTER `password_reset_expiry`', 'DO 0;'); prepare statement from @query; execute statement; deallocate prepare statement; -- add primary key to tbladdonmodules set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladdonmodules' and column_name='id') = 0, 'ALTER TABLE `tbladdonmodules` ADD `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST', 'DO 0;'); prepare statement from @query; execute statement; deallocate prepare statement; -- create jobs queue table CREATE TABLE IF NOT EXISTS `tbljobs_queue` ( `id` int(10) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL DEFAULT '', `class_name` varchar(255) NOT NULL DEFAULT '', `method_name` varchar(255) NOT NULL DEFAULT '', `input_parameters` text NOT NULL, `available_at` datetime NOT NULL, `digest_hash` varchar(255) NOT NULL DEFAULT '', `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;