-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '2.3-develop' into forwardport-2.3-develop-magento-magen…
…to2-11539
- Loading branch information
Showing
1,614 changed files
with
77,410 additions
and
43,302 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
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
124 changes: 0 additions & 124 deletions
124
app/code/Magento/AdminNotification/Setup/InstallSchema.php
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:setup:Model/Declaration/Schema/etc/schema.xsd"> | ||
<table name="adminnotification_inbox" resource="default" engine="innodb" comment="Adminnotification Inbox"> | ||
<column xsi:type="int" name="notification_id" padding="10" unsigned="true" nullable="false" identity="true" | ||
comment="Notification id"/> | ||
<column xsi:type="smallint" name="severity" padding="5" unsigned="true" nullable="false" identity="false" | ||
default="0" comment="Problem type"/> | ||
<column xsi:type="timestamp" name="date_added" on_update="false" nullable="false" default="CURRENT_TIMESTAMP" | ||
comment="Create date"/> | ||
<column xsi:type="varchar" name="title" nullable="false" length="255" comment="Title"/> | ||
<column xsi:type="text" name="description" nullable="true" comment="Description"/> | ||
<column xsi:type="varchar" name="url" nullable="true" length="255" comment="Url"/> | ||
<column xsi:type="smallint" name="is_read" padding="5" unsigned="true" nullable="false" identity="false" | ||
default="0" comment="Flag if notification read"/> | ||
<column xsi:type="smallint" name="is_remove" padding="5" unsigned="true" nullable="false" identity="false" | ||
default="0" comment="Flag if notification might be removed"/> | ||
<constraint xsi:type="primary" name="PRIMARY"> | ||
<column name="notification_id"/> | ||
</constraint> | ||
<index name="ADMINNOTIFICATION_INBOX_SEVERITY" indexType="btree"> | ||
<column name="severity"/> | ||
</index> | ||
<index name="ADMINNOTIFICATION_INBOX_IS_READ" indexType="btree"> | ||
<column name="is_read"/> | ||
</index> | ||
<index name="ADMINNOTIFICATION_INBOX_IS_REMOVE" indexType="btree"> | ||
<column name="is_remove"/> | ||
</index> | ||
</table> | ||
<table name="admin_system_messages" resource="default" engine="innodb" comment="Admin System Messages"> | ||
<column xsi:type="varchar" name="identity" nullable="false" length="100" comment="Message id"/> | ||
<column xsi:type="smallint" name="severity" padding="5" unsigned="true" nullable="false" identity="false" | ||
default="0" comment="Problem type"/> | ||
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP" | ||
comment="Create date"/> | ||
<constraint xsi:type="primary" name="PRIMARY"> | ||
<column name="identity"/> | ||
</constraint> | ||
</table> | ||
</schema> |
32 changes: 32 additions & 0 deletions
32
app/code/Magento/AdminNotification/etc/db_schema_whitelist.json
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,32 @@ | ||
{ | ||
"adminnotification_inbox": { | ||
"column": { | ||
"notification_id": true, | ||
"severity": true, | ||
"date_added": true, | ||
"title": true, | ||
"description": true, | ||
"url": true, | ||
"is_read": true, | ||
"is_remove": true | ||
}, | ||
"index": { | ||
"ADMINNOTIFICATION_INBOX_SEVERITY": true, | ||
"ADMINNOTIFICATION_INBOX_IS_READ": true, | ||
"ADMINNOTIFICATION_INBOX_IS_REMOVE": true | ||
}, | ||
"constraint": { | ||
"PRIMARY": true | ||
} | ||
}, | ||
"admin_system_messages": { | ||
"column": { | ||
"identity": true, | ||
"severity": true, | ||
"created_at": true | ||
}, | ||
"constraint": { | ||
"PRIMARY": true | ||
} | ||
} | ||
} |
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.