-
-
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.
- Loading branch information
1 parent
4b56259
commit 0930640
Showing
3 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
administrator/components/com_admin/sql/updates/mysql/3.7.0-2016-11-28.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,7 @@ | ||
-- Add core field to extensions table. | ||
ALTER TABLE `#__extensions` MODIFY `protected` tinyint(3) NOT NULL DEFAULT 0 COMMENT 'Flag to indicate if the extension can be enabled/disabled.', | ||
ALTER TABLE `#__extensions` ADD COLUMN `core` tinyint(3) NOT NULL DEFAULT 0 COMMENT 'Flag to indicate if is a Joomla core extension. Core extensions can not be uninstalled.', | ||
|
||
UPDATE `#__extensions` | ||
SET `core` = 1 | ||
WHERE `element` IN (); |
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
4 changes: 4 additions & 0 deletions
4
administrator/components/com_admin/sql/updates/sqlazure/3.7.0-2016-11-28.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,6 @@ | ||
-- Add core field to extensions table. | ||
ALTER TABLE [#__extensions] ADD [core] [smallint] NOT NULL DEFAULT 0; | ||
|
||
UPDATE [#__extensions] | ||
SET [core] = 1 | ||
WHERE [element] IN (); |