From: Eric Price Date: Sun, 22 Jun 2008 01:27:57 +0000 (-0400) Subject: Database changes for autoinstalls X-Git-Tag: sipb-xen-database/10.13^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-database.git/commitdiff_plain/fc3c7db97ee0c5320d55d9d090526c57d01efb51 Database changes for autoinstalls svn path=/trunk/packages/sipb-xen-database/; revision=630 --- diff --git a/debian/changelog b/debian/changelog index 1a2bf9f..2665feb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sipb-xen-database (10.13) unstable; urgency=low + + * Modify autoinstalls table to specify distribution/mirror. + + -- Eric Price Sat, 21 Jun 2008 21:25:21 -0400 + sipb-xen-database (10.12) unstable; urgency=low * Add a description field. diff --git a/sipb_xen_database/models.py b/sipb_xen_database/models.py index 9fbf4dc..ee207f6 100644 --- a/sipb_xen_database/models.py +++ b/sipb_xen_database/models.py @@ -65,7 +65,9 @@ cdroms_table = Table('cdroms', meta, autoinstalls_table = Table('autoinstalls', meta, Column('autoinstall_id', String, primary_key=True, nullable=False), Column('description', String, nullable=False), - Column('type_id', String, ForeignKey('types.type_id'), nullable=False)) + Column('type_id', String, ForeignKey('types.type_id'), nullable=False), + Column('distribution', String, nullable=False), + Column('mirror', String, nullable=False)) machine_access_table = Table('machine_access', meta, Column('machine_id', Integer, ForeignKey('machines.machine_id'), nullable=False, index=True),