Changeset 1708 for trunk


Ignore:
Timestamp:
Nov 17, 2008, 2:08:03 PM (16 years ago)
Author:
broder
Message:

Don't require administrator to be non-null

Location:
trunk/packages/invirt-database
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-database/debian/changelog

    r1694 r1708  
     1invirt-database (0.0.6) unstable; urgency=low
     2
     3  * Let machines.administrator be NULL
     4
     5 -- Evan Broder <broder@mit.edu>  Mon, 17 Nov 2008 13:41:48 -0500
     6
    17invirt-database (0.0.5) unstable; urgency=low
    28
  • trunk/packages/invirt-database/python/database/models.py

    r1694 r1708  
    3939       Column('contact', String, nullable=False),
    4040       Column('uuid', String, nullable=False),
    41        Column('administrator', String, nullable=False, default=False),
     41       Column('administrator', String, nullable=True, default=None),
    4242       Column('type_id', String, ForeignKey('types.type_id'), nullable=False),
    4343       Column('autorestart', Boolean, nullable=False, default=False),
Note: See TracChangeset for help on using the changeset viewer.