From fc3c7db97ee0c5320d55d9d090526c57d01efb51 Mon Sep 17 00:00:00 2001 From: Eric Price Date: Sat, 21 Jun 2008 21:27:57 -0400 Subject: [PATCH] Database changes for autoinstalls svn path=/trunk/packages/sipb-xen-database/; revision=630 --- debian/changelog | 6 ++++++ sipb_xen_database/models.py | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) 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), -- 1.7.9.5