-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[SQL] fix field home of #__template_styles table #24595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
cbc4e80
fix home field on #__template_styles 1/6
alikon bc78357
fix home field on #__template_styles 2/6
alikon 9ed8dec
fix home field on #__template_styles 3/6
alikon 7506693
fix home field on #__template_styles 4/6
alikon 4a0add9
fix home field on #__template_styles 5/6
alikon 7759740
fix home field on #__template_styles 6/6
alikon 71f8cfd
ix not unique
alikon d8941e3
Update installation/sql/mysql/joomla.sql
744dfb5
Update administrator/components/com_admin/sql/updates/mysql/3.9.6-201…
91210e6
Update administrator/components/com_admin/sql/updates/mysql/3.9.6-201…
2572ae5
if exist
alikon ba0f0ed
Merge branch 'staging' into patch-113
alikon 4cfd921
Merge branch 'staging' into patch-113
HLeithner 130ab0e
3.9.8
alikon 4537f7b
3.9.8
alikon 1116780
3.9.8
alikon b7595d1
Merge branch 'staging' into patch-113
alikon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
administrator/components/com_admin/sql/updates/mysql/3.9.6-2019-04-15.sql
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| ALTER TABLE `#__template_styles` DROP INDEX `idx_home`; | ||
| ALTER TABLE `#__template_styles` MODIFY `home` tinyint(1) unsigned NOT NULL DEFAULT 0; | ||
| ALTER TABLE `#__template_styles` ADD INDEX `idx_home` (`home`); |
4 changes: 4 additions & 0 deletions
4
administrator/components/com_admin/sql/updates/postgresql/3.9.6-2019-04-15.sql
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| DROP INDEX "#__template_styles_idx_home"; | ||
| ALTER TABLE "#__template_style" ALTER COLUMN "home" TYPE smallint; | ||
| ALTER TABLE "#__template_style" ALTER COLUMN "home" SET DEFAULT 0; | ||
| CREATE INDEX "#__template_styles_idx_home" ON "#__template_style" ("home"); | ||
7 changes: 7 additions & 0 deletions
7
administrator/components/com_admin/sql/updates/sqlazure/3.9.6-2019-04-15.sql
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| DROP INDEX [idx_home] ON [#__template_styles]; | ||
| ALTER TABLE [#__template_styles] ALTER COLUMN [home] [tyinint] NOT NULL; | ||
| CREATE NONCLUSTERED INDEX [idx_home] ON [#__template_styles] | ||
| ( | ||
| [home] ASC | ||
| )WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF); | ||
| ALTER TABLE [#__template_styles] ADD DEFAULT (0) FOR [home]; |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.