Skip to content

Commit 3b5936c

Browse files
add index to update sql file
1 parent d3647aa commit 3b5936c

File tree

1 file changed

+1
-1
lines changed
  • com_swjprojects/admin/sql/updates/mysql

1 file changed

+1
-1
lines changed

com_swjprojects/admin/sql/updates/mysql/1.8.0.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
* @link https://septdir.com, https://web-tolk.ru
88
*/
99

10-
ALTER TABLE `#__swjprojects_projects` ADD `visible` INT(1) NOT NULL DEFAULT 1 COMMENT 'Is project visible or not in frontend' AFTER `hits`;
10+
ALTER TABLE `#__swjprojects_projects` ADD `visible` INT(1) NOT NULL DEFAULT 1 COMMENT 'Is project visible or not in frontend' AFTER `hits`, ADD INDEX `idx_visible` (`visible`);

0 commit comments

Comments
 (0)