summaryrefslogtreecommitdiffstats
path: root/main/migrations/0050_auto__chg_field_package_compressed_size__chg_field_package_installed_s.py
AgeCommit message (Collapse)AuthorFilesLines
2012-03-24Make all datetime objects fully timezone awareDan McGee1-1/+4
This is most of the transition to Django 1.4 `USE_TZ = True`. We need to ensure we don't mix aware and non-aware datetime objects when dealing with datetimes in the code. Add a utc_now() helper method that we can use most places, and ensure there is always a timezone attached when necessary. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Mark several package columns as non-NULLDan McGee1-0/+163
These have been around for a long time now so they don't need to be NULL-able anymore. We can also add a custom field type for our numbers to at least get a check constraint at the Django level. Signed-off-by: Dan McGee <dan@archlinux.org>