projects
/
invirt/packages/invirt-database.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Database changes for autoinstalls
[invirt/packages/invirt-database.git]
/
sipb_xen_database
/
models.py
diff --git
a/sipb_xen_database/models.py
b/sipb_xen_database/models.py
index
9fbf4dc
..
ee207f6
100644
(file)
--- 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),
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),
machine_access_table = Table('machine_access', meta,
Column('machine_id', Integer, ForeignKey('machines.machine_id'), nullable=False, index=True),