-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'remotes/upstream/staging' into cf/conta…
…ct-no-default-users
- Loading branch information
Showing
674 changed files
with
9,462 additions
and
8,323 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
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
5 changes: 5 additions & 0 deletions
5
administrator/components/com_admin/sql/updates/mysql/3.7.0-2017-03-03.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ALTER TABLE `#__languages` MODIFY `asset_id` int(10) unsigned NOT NULL DEFAULT 0; | ||
ALTER TABLE `#__menu_types` MODIFY `asset_id` int(10) unsigned NOT NULL DEFAULT 0; | ||
|
||
ALTER TABLE `#__content` MODIFY `xreference` varchar(50) NOT NULL DEFAULT ''; | ||
ALTER TABLE `#__newsfeeds` MODIFY `xreference` varchar(50) NOT NULL DEFAULT ''; |
1 change: 1 addition & 0 deletions
1
administrator/components/com_admin/sql/updates/mysql/3.7.0-2017-03-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 |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER TABLE `#__finder_links` MODIFY `description` text; |
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
5 changes: 5 additions & 0 deletions
5
administrator/components/com_admin/sql/updates/postgresql/3.7.0-2017-03-03.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ALTER TABLE "#__extensions" ALTER COLUMN "custom_data" DROP DEFAULT; | ||
ALTER TABLE "#__extensions" ALTER COLUMN "system_data" DROP DEFAULT; | ||
ALTER TABLE "#__updates" ALTER COLUMN "data" DROP DEFAULT; | ||
|
||
ALTER TABLE "#__newsfeeds" ALTER COLUMN "xreference" SET DEFAULT ''; |
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
31 changes: 31 additions & 0 deletions
31
administrator/components/com_admin/sql/updates/sqlazure/3.7.0-2017-03-03.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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
CREATE PROCEDURE "#removeDefault" | ||
( | ||
@table NVARCHAR(100), | ||
@column NVARCHAR(100) | ||
) | ||
AS | ||
BEGIN | ||
DECLARE @constraintName AS nvarchar(100) | ||
DECLARE @constraintQuery AS nvarchar(1000) | ||
SELECT @constraintName = name FROM sys.default_constraints | ||
WHERE parent_object_id = object_id(@table) | ||
AND parent_column_id = columnproperty(object_id(@table), @column, 'ColumnId') | ||
SET @constraintQuery = 'ALTER TABLE [' + @table + '] DROP CONSTRAINT [' + @constraintName + ']' | ||
EXECUTE sp_executesql @constraintQuery | ||
END; | ||
|
||
EXECUTE "#removeDefault" "#__extensions", 'system_data'; | ||
EXECUTE "#removeDefault" "#__updates", 'data'; | ||
|
||
ALTER TABLE "#__content" ADD DEFAULT ('') FOR "xreference"; | ||
ALTER TABLE "#__newsfeeds" ADD DEFAULT ('') FOR "xreference"; | ||
|
||
-- Delete wrong unique index | ||
DROP INDEX "idx_access" ON "#__languages"; | ||
|
||
-- Add missing unique index | ||
ALTER TABLE "#__languages" ADD CONSTRAINT "#__languages$idx_langcode" UNIQUE ("lang_code") ON [PRIMARY]; | ||
|
||
-- Add missing index keys | ||
CREATE INDEX "idx_access" ON "#__languages" ("access"); | ||
CREATE INDEX "idx_ordering" ON "#__languages" ("ordering"); |
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
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
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
Oops, something went wrong.