Changeset 2150
- Timestamp:
- Feb 17, 2009, 3:45:24 AM (16 years ago)
- Location:
- trunk/packages/invirt-database
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-database/debian/changelog
r2145 r2150 1 invirt-database (0.1.5) unstable; urgency=low 2 3 * Make the default values on the owners table explicit 4 (Note: This is a NOOP, since a nullable field with no otherwise 5 specified default defaults to NULL) 6 7 -- Evan Broder <broder@mit.edu> Tue, 17 Feb 2009 03:36:47 -0500 8 1 9 invirt-database (0.1.4) unstable; urgency=low 2 10 -
trunk/packages/invirt-database/python/database/models.py
r2135 r2150 89 89 owners_table = Table('owners', meta, 90 90 Column('owner_id', String, primary_key=True, nullable=False), 91 Column('ram_quota_total', Integer, nullable=True ),92 Column('ram_quota_single', Integer, nullable=True ),93 Column('disk_quota_total', Integer, nullable=True ),94 Column('disk_quota_single', Integer, nullable=True ),95 Column('vms_quota_total', Integer, nullable=True ),96 Column('vms_quota_active', Integer, nullable=True ))91 Column('ram_quota_total', Integer, nullable=True, default=None), 92 Column('ram_quota_single', Integer, nullable=True, default=None), 93 Column('disk_quota_total', Integer, nullable=True, default=None), 94 Column('disk_quota_single', Integer, nullable=True, default=None), 95 Column('vms_quota_total', Integer, nullable=True, default=None), 96 Column('vms_quota_active', Integer, nullable=True, default=None)) 97 97 98 98 machine_access_table = Table('machine_access', meta,
Note: See TracChangeset
for help on using the changeset viewer.