Merge from branch project-extensions (changes project_extension.deadline into project_extension.days in the database). The branch isn't finished; I just want this DB change to be included before we release 1.0.2, in case the rest of the changes for this branch don't make it.