Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct old schema updates and rename new ones
- Loading branch information
Showing
6 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
File renamed without changes.
3 changes: 2 additions & 1 deletion
3
administrator/components/com_admin/sql/updates/mysql/3.9.8-2019-06-15.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
ALTER TABLE `#__template_styles` DROP INDEX `idx_home`; | ||
ALTER TABLE `#__template_styles` ADD INDEX `idx_client_id` (`client_id`); | ||
# Queries removed, see https://github.com/joomla/joomla-cms/pull/25484 | ||
ALTER TABLE `#__template_styles` ADD INDEX `idx_client_id` (`client_id`); | ||
ALTER TABLE `#__template_styles` ADD INDEX `idx_client_id_home` (`client_id`, `home`); |
File renamed without changes.
3 changes: 2 additions & 1 deletion
3
administrator/components/com_admin/sql/updates/postgresql/3.9.8-2019-06-15.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DROP INDEX IF EXISTS "#__template_styles_idx_home"; | ||
CREATE INDEX "#__template_styles_idx_client_id" ON "#__template_styles" ("client_id"); | ||
# Queries removed, see https://github.com/joomla/joomla-cms/pull/25484 | ||
CREATE INDEX "#__template_styles_idx_client_id" ON "#__template_styles" ("client_id"); | ||
CREATE INDEX "#__template_styles_idx_client_id_home" ON "#__template_styles" ("client_id", "home"); |
File renamed without changes.
8 changes: 7 additions & 1 deletion
8
administrator/components/com_admin/sql/updates/sqlazure/3.9.8-2019-06-15.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
DROP INDEX [idx_home] ON [#__template_styles]; | ||
# Query removed, see https://github.com/joomla/joomla-cms/pull/25484 | ||
CREATE NONCLUSTERED INDEX [idx_client_id] ON [#__template_styles] | ||
( | ||
[client_id] ASC | ||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF); | ||
# Queries removed, see https://github.com/joomla/joomla-cms/pull/25484 | ||
CREATE NONCLUSTERED INDEX [idx_client_id_home] ON [#__template_styles] | ||
( | ||
[client_id] ASC, | ||
[home] ASC | ||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF); | ||
ALTER TABLE [#__template_styles] ADD DEFAULT (0) FOR [home]; |