From 4bf49a9cd6dbf307fe918e9ce349bd1c62b1535c Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Mon, 17 Nov 2008 12:29:35 -0500 Subject: [PATCH] Add an architecture field to the autoinstaller table svn path=/trunk/packages/invirt-database/; revision=1694 --- debian/changelog | 6 ++++++ python/database/models.py | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index de08e10..d5e5d14 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-database (0.0.5) unstable; urgency=low + + * Add an architecture field to the autoinstaller table + + -- Evan Broder Mon, 17 Nov 2008 12:18:02 -0500 + invirt-database (0.0.3) unstable; urgency=low * Add attributes to the ORM objects to connect mirrors and cdroms diff --git a/python/database/models.py b/python/database/models.py index 625e04b..f3d36e9 100644 --- a/python/database/models.py +++ b/python/database/models.py @@ -79,7 +79,8 @@ autoinstalls_table = Table('autoinstalls', meta, Column('description', String, nullable=False), Column('type_id', String, ForeignKey('types.type_id'), nullable=False), Column('distribution', String, nullable=False), - Column('mirror', String, nullable=False)) + Column('mirror', String, nullable=False), + Column('arch', String, nullable=False)) machine_access_table = Table('machine_access', meta, Column('machine_id', Integer, ForeignKey('machines.machine_id', ondelete='CASCADE'), nullable=False, index=True), -- 1.7.9.5