The necessary migration is:
BEGIN;
ALTER TABLE project_extension DROP deadline;
ALTER TABLE project_extension ADD days INT NOT NULL;
COMMIT;
I vote for the number of days as an int. As I said above, I can't imagine why you'd want a non-whole-number of days for an individual student extension. It doesn't justify all the date math.
The necessary migration is:
BEGIN;
ALTER TABLE project_extension DROP deadline;
ALTER TABLE project_extension ADD days INT NOT NULL;
COMMIT;
I vote for the number of days as an int. As I said above, I can't imagine why you'd want a non-whole-number of days for an individual student extension. It doesn't justify all the date math.