Skip to content

Commit d334e2e

Browse files
author
Shikha Mishra
authored
Fixed Value of created_at and updated_at columns
1 parent 3ff0161 commit d334e2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Ui/etc/db_schema.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
comment="Mark current bookmark per user and identifier"/>
1919
<column xsi:type="varchar" name="title" nullable="true" length="255" comment="Bookmark title"/>
2020
<column xsi:type="longtext" name="config" nullable="true" comment="Bookmark config"/>
21-
<column xsi:type="datetime" name="created_at" on_update="false" nullable="false" comment="Bookmark created at"/>
22-
<column xsi:type="datetime" name="updated_at" on_update="false" nullable="false" comment="Bookmark updated at"/>
21+
<column xsi:type="datetime" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP" comment="Bookmark created at"/>
22+
<column xsi:type="datetime" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP" comment="Bookmark updated at"/>
2323
<constraint xsi:type="primary" referenceId="PRIMARY">
2424
<column name="bookmark_id"/>
2525
</constraint>

0 commit comments

Comments
 (0)