Add a description field.
authorAnders Kaseorg <andersk@mit.edu>
Wed, 18 Jun 2008 07:50:31 +0000 (03:50 -0400)
committerAnders Kaseorg <andersk@mit.edu>
Wed, 18 Jun 2008 07:50:31 +0000 (03:50 -0400)
svn path=/trunk/packages/sipb-xen-database/; revision=609

sipb_xen_database/models.py

index 1d8b83f..9fbf4dc 100644 (file)
@@ -28,6 +28,7 @@ ctx = SessionContext(create_session)
 machine_table = Table('machines', meta,
        Column('machine_id', Integer, primary_key=True, nullable=False),
        Column('name', String, nullable=False),
 machine_table = Table('machines', meta,
        Column('machine_id', Integer, primary_key=True, nullable=False),
        Column('name', String, nullable=False),
+       Column('description', String, nullable=False),
        Column('memory', Integer, nullable=False),
        Column('owner', String, nullable=False),
        Column('contact', String, nullable=False),
        Column('memory', Integer, nullable=False),
        Column('owner', String, nullable=False),
        Column('contact', String, nullable=False),