-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'staging' into remove_gallery
- Loading branch information
Showing
25 changed files
with
2,109 additions
and
2,807 deletions.
There are no files selected for viewing
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
2 changes: 1 addition & 1 deletion
2
administrator/components/com_admin/sql/updates/mysql/3.7.0-2016-11-19.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,3 @@ | ||
ALTER TABLE `#__menu_types` ADD `client_id` int(11) NOT NULL DEFAULT 0; | ||
ALTER TABLE `#__menu_types` ADD COLUMN `client_id` int(11) NOT NULL DEFAULT 0; | ||
|
||
UPDATE `#__menu` SET `published` = 1 WHERE `menutype` = 'main' OR `menutype` = 'menu'; |
7 changes: 6 additions & 1 deletion
7
administrator/components/com_admin/sql/updates/sqlazure/3.0.3.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 +1,6 @@ | ||
ALTER TABLE [#__associations] ALTER COLUMN [id] INT; | ||
ALTER TABLE [#__associations] DROP CONSTRAINT [PK_#__associations_context]; | ||
ALTER TABLE [#__associations] ALTER COLUMN [id] INT NOT NULL; | ||
ALTER TABLE [#__associations] ADD CONSTRAINT [PK_#__associations_context] PRIMARY KEY CLUSTERED( | ||
[context] ASC, | ||
[id] ASC | ||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]; |
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
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
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
2 changes: 1 addition & 1 deletion
2
administrator/components/com_admin/sql/updates/sqlazure/3.2.2-2014-01-18.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,2 +1,2 @@ | ||
/* Update updates version length */ | ||
ALTER TABLE [#__updates] ALTER COLUMN [version] [nvarchar](32) ''; | ||
ALTER TABLE [#__updates] ALTER COLUMN [version] [nvarchar](32); |
6 changes: 3 additions & 3 deletions
6
administrator/components/com_admin/sql/updates/sqlazure/3.5.0-2015-10-26.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,3 @@ | ||
ALTER TABLE [#__contentitem_tag_map] DROP INDEX [idx_tag_name]; | ||
ALTER TABLE [#__contentitem_tag_map] DROP INDEX [idx_tag]; | ||
ALTER TABLE [#__contentitem_tag_map] DROP INDEX [idx_type]; | ||
DROP INDEX [idx_tag_name] ON [#__contentitem_tag_map]; | ||
DROP INDEX [idx_tag] ON [#__contentitem_tag_map]; | ||
DROP INDEX [idx_type] ON [#__contentitem_tag_map]; |
3 changes: 0 additions & 3 deletions
3
administrator/components/com_admin/sql/updates/sqlazure/3.7.0-2016-09-29.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,3 @@ | ||
SET IDENTITY_INSERT [#__postinstall_messages] ON; | ||
|
||
INSERT INTO [#__postinstall_messages] ([extension_id], [title_key], [description_key], [action_key], [language_extension], [language_client_id], [type], [action_file], [action], [condition_file], [condition_method], [version_introduced], [enabled]) | ||
SELECT 700, 'COM_CPANEL_MSG_JOOMLA40_PRE_CHECKS_TITLE', 'COM_CPANEL_MSG_JOOMLA40_PRE_CHECKS_BODY', '', 'com_cpanel', 1, 'message', '', '', 'admin://components/com_admin/postinstall/joomla40checks.php', 'admin_postinstall_joomla40checks_condition', '3.7.0', 1; | ||
|
||
SET IDENTITY_INSERT [#__postinstall_messages] OFF; |
14 changes: 13 additions & 1 deletion
14
administrator/components/com_admin/sql/updates/sqlazure/3.7.0-2016-11-04.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 +1,13 @@ | ||
ALTER TABLE [#__extensions] ALTER COLUMN [enabled] DEFAULT 0; | ||
-- Change default value for enabled column. | ||
DECLARE @table AS nvarchar(100) | ||
DECLARE @constraintName AS nvarchar(100) | ||
DECLARE @constraintQuery AS nvarchar(1000) | ||
SET QUOTED_IDENTIFIER OFF | ||
SET @table = "#__extensions" | ||
SET QUOTED_IDENTIFIER ON | ||
SELECT @constraintName = name FROM sys.default_constraints | ||
WHERE parent_object_id = object_id(@table) | ||
AND parent_column_id = columnproperty(object_id(@table), 'enabled', 'ColumnId') | ||
SET @constraintQuery = 'ALTER TABLE [' + @table + '] DROP CONSTRAINT [' + @constraintName | ||
+ ']; ALTER TABLE [' + @table + '] ADD CONSTRAINT [' + @constraintName + '] DEFAULT 0 FOR [enabled]' | ||
EXECUTE sp_executesql @constraintQuery; |
2 changes: 0 additions & 2 deletions
2
administrator/components/com_admin/sql/updates/sqlazure/3.7.0-2016-11-21.sql
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.