diff options
author | travis%sedsystems.ca <> | 2005-02-09 01:51:02 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-02-09 01:51:02 +0100 |
commit | f8aeecaf8cd33d87315c5a50be9a762e142062a4 (patch) | |
tree | c92dc215a4f6780005bacf825fb6fbdc39552ae1 /checksetup.pl | |
parent | c0df359943e8b746f02f5c43d25e5ffea99f8d19 (diff) | |
download | bugzilla-f8aeecaf8cd33d87315c5a50be9a762e142062a4.tar.gz bugzilla-f8aeecaf8cd33d87315c5a50be9a762e142062a4.tar.xz |
Bug 257315 : type of delta_ts in bugs table should not be timestamp
Patch by Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, LpSolit a=justdave
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/checksetup.pl b/checksetup.pl index daabfa8f4..409568b83 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -1767,7 +1767,7 @@ $table{bugs} = bug_severity enum($my_severities) not null, bug_status enum("UNCONFIRMED", "NEW", "ASSIGNED", "REOPENED", "RESOLVED", "VERIFIED", "CLOSED") not null, creation_ts datetime not null, - delta_ts timestamp not null, + delta_ts datetime not null, short_desc mediumtext not null, op_sys enum($my_opsys) not null, priority enum($my_priorities) not null, @@ -4703,6 +4703,13 @@ if ($emptygroupid) { print "Group $emptygroupid had an empty name; renamed as '$trygroupname'.\n"; } +# 2005-01-17 - Tomas.Kopal@altap.cz, bug 257315 +# Change bugs.delta_ts type from timestamp to datetime +if (($fielddef = GetFieldDef("bugs", "delta_ts")) && + $fielddef->[1] =~ /^timestamp/) { + ChangeFieldType ('bugs', 'delta_ts', 'DATETIME NOT NULL'); +} + # # Final checks... |