diff options
author | mkanat%bugzilla.org <> | 2009-12-31 14:01:47 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-12-31 14:01:47 +0100 |
commit | 0c266590b454f88f55fb4b39a5bce5532ca5baa0 (patch) | |
tree | f8af064d0b6ada1a82843fb9e09c0beee6d885b8 /Bugzilla/DB | |
parent | 8d2b07ea05e895f040d1805221135bfb68dc7f7c (diff) | |
download | bugzilla-0c266590b454f88f55fb4b39a5bce5532ca5baa0.tar.gz bugzilla-0c266590b454f88f55fb4b39a5bce5532ca5baa0.tar.xz |
Bug 531841: Change all hour-related database fields to decimal(7,3) so that they can store numbers greater than 999.99 in modern versions of MySQL.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r-- | Bugzilla/DB/Schema.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index dbea63f79..8bee5dfe1 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -285,9 +285,9 @@ use constant ABSTRACT_SCHEMA => { NOTNULL => 1, DEFAULT => 'TRUE'}, cclist_accessible => {TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'TRUE'}, - estimated_time => {TYPE => 'decimal(5,2)', + estimated_time => {TYPE => 'decimal(7,2)', NOTNULL => 1, DEFAULT => '0'}, - remaining_time => {TYPE => 'decimal(5,2)', + remaining_time => {TYPE => 'decimal(7,2)', NOTNULL => 1, DEFAULT => '0'}, deadline => {TYPE => 'DATETIME'}, alias => {TYPE => 'varchar(20)'}, @@ -395,7 +395,7 @@ use constant ABSTRACT_SCHEMA => { REFERENCES => {TABLE => 'profiles', COLUMN => 'userid'}}, bug_when => {TYPE => 'DATETIME', NOTNULL => 1}, - work_time => {TYPE => 'decimal(5,2)', NOTNULL => 1, + work_time => {TYPE => 'decimal(7,2)', NOTNULL => 1, DEFAULT => '0'}, thetext => {TYPE => 'LONGTEXT', NOTNULL => 1}, isprivate => {TYPE => 'BOOLEAN', NOTNULL => 1, |