[mythtv-commits] Ticket #12979: DB column defaults are invalid
MythTV
noreply at mythtv.org
Wed Nov 13 08:55:02 UTC 2019
#12979: DB column defaults are invalid
----------------------------------+-----------------------------
Reporter: Stuart Auchterlonie | Owner: (none)
Type: Bug Report - General | Status: new
Priority: minor | Milestone: 29.2
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Comment (by Klaas de Waal):
This problem is not present in the current master (Fedora 31, MariaDB);
duplication of table channel does not give an error.
In the current master database schema the 'last record' column is created
with:
{{{
`last_record` datetime NOT NULL,
}}}
The last update that refers to last_record is in schema update to version
1337, commit f51a20bc0da9cdce35eae67b09c7e6ccb494fffd, "Allow some record
table columns to be NULL." d.d. Feb 18, 2015.
In this update the default values of "0000-00-00 00:00:00" are changed to
NULL.
I suggest that this ticket can be closed.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12979#comment:6>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list