sc3 / cookcountyjail

A Django app that tracks the population of Cook County Jail over time and summarizes trends.
http://cookcountyjail.recoveredfactory.net/api/1.0/?format=json
Other
31 stars 23 forks source link

Change CountyInmate.booking_date field to be date field #355

Closed nwinklareth closed 10 years ago

nwinklareth commented 10 years ago

This was created as a date and time field, yet bookings are only by date. Additionally this field allows for nulls and in fact some of the fields contain nulls. Also to do a SQL based analysis based on booking date is very difficult with the datetime type.Hence the request to make the type change to the field.

wilbertom commented 10 years ago

Yup, let's make sure we don't make the same mistake in v2.0.

wilbertom commented 10 years ago

I see you did a data migration. Can we close this?

bepetersn commented 10 years ago

I believe we can now close this.