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
Christian Uhl
committed
Aug 8, 2016
1 parent
9bf2011
commit e45160c
Showing
4 changed files
with
121 additions
and
0 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
2 changes: 2 additions & 0 deletions
2
administrator/components/com_admin/sql/others/mysql/nullDate-conversion.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,2 @@ | ||
ALTER TABLE `#__nullDate_conversion` CHANGE `converted` `converted` datetime NOT NULL DEFAULT #T#; | ||
UPDATE `#__nullDate_conversion` SET converted = #T#; |
13 changes: 13 additions & 0 deletions
13
administrator/components/com_admin/sql/updates/mysql/3.7.0-2016-06-08.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,13 @@ | ||
-- | ||
-- Table structure for table `#__nullDate_conversion` | ||
-- | ||
|
||
CREATE TABLE IF NOT EXISTS `#__nullDate_conversion` ( | ||
`converted` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; | ||
|
||
-- | ||
-- Dumping data for table `#__nullDate_conversion` | ||
-- | ||
|
||
INSERT INTO `#__nullDate_conversion` (`converted`) VALUES ('0000-00-00 00:00:00'); |
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