durtto / django-project-management

Automatically exported from code.google.com/p/django-project-management
0 stars 0 forks source link

Use floating point numbers for durations. #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In "Add a Work Item", it is not possible to insert a double precision number in 
"Duration" field

Original issue reported on code.google.com by moz...@gmail.com on 11 Oct 2010 at 8:05

GoogleCodeExporter commented 9 years ago
I dunno but perhaps we need some DB migrator for this case. I got inspired
by the CMS which we are using (see link at bottom of 
http://gis.fem-environment.eu/)
which is naturally open source as well. They have assigned a versioning system
to the DB scheme and which each update (i.e. simply overwriting the existing
installation with the new files) it runs an update SQL script which detects
the existing version and migrates it to the new scheme. Pretty cool since you
can even skip versions in between when updating an old instance of this CMS
to the actual version. The guys did a great job on that. 
I dunno the DB internals of d-p-m but maybe something similar would be
feasible?

Original comment by neteler.eden on 16 Oct 2010 at 8:28