diff options
author | travis%sedsystems.ca <> | 2005-01-29 03:01:27 +0000 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-01-29 03:01:27 +0000 |
commit | ed20d719e2df695ed2c9127f364886b902d82a24 (patch) | |
tree | 78e3a5205b856822753ff44d7e49f6b967b1d86d /checksetup.pl | |
parent | fc649d472490ea13b935eccf1ecd692dd7112fd4 (diff) | |
download | bugs-ed20d719e2df695ed2c9127f364886b902d82a24.tar bugs-ed20d719e2df695ed2c9127f364886b902d82a24.tar.gz bugs-ed20d719e2df695ed2c9127f364886b902d82a24.tar.bz2 bugs-ed20d719e2df695ed2c9127f364886b902d82a24.tar.xz bugs-ed20d719e2df695ed2c9127f364886b902d82a24.zip |
Bug 257315 : type of delta_ts in bugs table should not be timestamp
Patch by Tomas Kopal <Tomas.Kopal@altap.cz> r=vladd, 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 6bbedaaea..d03646dcf 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -1753,7 +1753,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, @@ -4689,6 +4689,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... |