Changes between Version 10 and Version 11 of TaskRecordedFile


Ignore:
Timestamp:
01/23/11 00:33:03 (16 years ago)
Author:
sphery
Comment:

Don't use starttime/endtime. Avoids the confusion we've always had over the meaning of starttime/endtime. Instead, be explicit and use progstart/progend and recstart/recend everywhere.

Legend:

Unmodified
Added
Removed
Modified
  • TaskRecordedFile

    v10 v11  
    3838# Two versions after migration, delete the following fields which would be
    3939#     unused at that time:
     40# - starttime
     41# - endtime
    4042# - storagegroup
    4143# - hostname
     
    4951# - filesize
    5052#
    51 # The old recorded.starttime/endtime values, which correspond to recording
     53# The former recorded.starttime/endtime values, which correspond to recording
    5254#    start/end times, will be in recordedfile.recstart and recordedfile.recend.
    53 # Also deleted/moved are:
    54 # - progstart (the starttime field will reference program listings start time)
    55 # - progend (the endtime field will reference program listings end time)
     55# The recorded.progstart/progend columns will be moved to the location where
     56#    recorded.starttime/endtime were.
    5657
    5758##############################################################################
     
    6566
    6667        chanid        INT UNSIGNED NOT NULL DEFAULT 0,
    67         starttime     DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
     68        progstart     DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
    6869
    6970# Recording start and end times.  The (new) recorded table's start/end times
     
    7576        defaultfile   TINYINT(1) NOT NULL DEFAULT 0,
    7677
    77         PRIMARY KEY (chanid, starttime, fileid),
     78        PRIMARY KEY (chanid, progstart, fileid),
    7879        INDEX (fileid)
    7980        );