Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
670 additions
and
789 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
administrator/components/com_admin/sql/updates/mysql/3.7.0-2017-02-17.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,8 @@ | ||
-- Normalize contact_details table default values. | ||
ALTER TABLE `#__contact_details` MODIFY `name` varchar(255) NOT NULL; | ||
ALTER TABLE `#__contact_details` MODIFY `alias` varchar(400) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL; | ||
ALTER TABLE `#__contact_details` MODIFY `sortname1` varchar(255) NOT NULL DEFAULT ''; | ||
ALTER TABLE `#__contact_details` MODIFY `sortname2` varchar(255) NOT NULL DEFAULT ''; | ||
ALTER TABLE `#__contact_details` MODIFY `sortname3` varchar(255) NOT NULL DEFAULT ''; | ||
ALTER TABLE `#__contact_details` MODIFY `language` varchar(7) NOT NULL; | ||
ALTER TABLE `#__contact_details` MODIFY `xreference` varchar(50) NOT NULL DEFAULT '' COMMENT 'A reference to enable linkages to external data sets.'; |
8 changes: 8 additions & 0 deletions
8
administrator/components/com_admin/sql/updates/postgresql/3.7.0-2017-02-17.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,8 @@ | ||
-- Normalize contact_details table default values. | ||
ALTER TABLE "#__contact_details" ALTER COLUMN "name" DROP DEFAULT; | ||
ALTER TABLE "#__contact_details" ALTER COLUMN "alias" DROP DEFAULT; | ||
ALTER TABLE "#__contact_details" ALTER COLUMN "sortname1" SET DEFAULT ''; | ||
ALTER TABLE "#__contact_details" ALTER COLUMN "sortname2" SET DEFAULT ''; | ||
ALTER TABLE "#__contact_details" ALTER COLUMN "sortname3" SET DEFAULT ''; | ||
ALTER TABLE "#__contact_details" ALTER COLUMN "language" DROP DEFAULT; | ||
ALTER TABLE "#__contact_details" ALTER COLUMN "xreference" SET DEFAULT ''; |
329 changes: 329 additions & 0 deletions
329
administrator/components/com_admin/sql/updates/sqlazure/3.7.0-2017-02-16.sql
Large diffs are not rendered by default.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
administrator/components/com_admin/sql/updates/sqlazure/3.7.0-2017-02-17.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,21 @@ | ||
-- Normalize contact_details table default values. | ||
DECLARE @table AS nvarchar(32) | ||
DECLARE @constraintName AS nvarchar(100) | ||
DECLARE @constraintQuery AS nvarchar(1000) | ||
SET QUOTED_IDENTIFIER OFF | ||
SET @table = "#__contact_details" | ||
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), 'name', 'ColumnId') | ||
SET @constraintQuery = 'ALTER TABLE [' + @table + '] DROP CONSTRAINT [' + @constraintName + ']' | ||
EXECUTE sp_executesql @constraintQuery; | ||
|
||
ALTER TABLE [#__contact_details] ADD DEFAULT (0) FOR [published]; | ||
ALTER TABLE [#__contact_details] ADD DEFAULT (0) FOR [checked_out]; | ||
ALTER TABLE [#__contact_details] ADD DEFAULT ('') FOR [created_by_alias]; | ||
|
||
ALTER TABLE [#__contact_details] ADD DEFAULT ('') FOR [sortname1]; | ||
ALTER TABLE [#__contact_details] ADD DEFAULT ('') FOR [sortname2]; | ||
ALTER TABLE [#__contact_details] ADD DEFAULT ('') FOR [sortname3]; | ||
ALTER TABLE [#__contact_details] ADD DEFAULT ('') FOR [xreference]; |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.