~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/database.py

  • Committer: Matt Giuca
  • Date: 2010-07-22 03:57:16 UTC
  • mto: This revision was merged to the branch mainline in revision 1820.
  • Revision ID: matt.giuca@gmail.com-20100722035716-7p5t3c349lqwasqk
Database: Modified project_extension table; replaced 'deadline TIMESTAMP' with 'days INT'. This means the extension is a time delta on top of the existing deadline, not a replacement deadline.
Added a migration (userdb/migrations/20100722-01.sql) and updated ivle.database.

Show diffs side-by-side

added added

removed removed

Lines of Context:
865
865
    id = Int(name="extensionid", primary=True)
866
866
    assessed_id = Int(name="assessedid")
867
867
    assessed = Reference(assessed_id, Assessed.id)
868
 
    deadline = DateTime()
 
868
    days = Int()
869
869
    approver_id = Int(name="approver")
870
870
    approver = Reference(approver_id, User.id)
871
871
    notes = Unicode()