summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Snapshots/model.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-02-13 15:57:08 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-02-13 15:57:08 +0000
commit4e1936396965352a434c5a0c19d5930bfad8fc14 (patch)
treed3d24f9696f21a56a0fc0d5275c185169621c7b6 /src/lib/Server/Snapshots/model.py
parent7ac1a357b9d447f37ecc873ba43c0fbc24a0b8da (diff)
downloadbcfg2-4e1936396965352a434c5a0c19d5930bfad8fc14.tar.gz
bcfg2-4e1936396965352a434c5a0c19d5930bfad8fc14.tar.bz2
bcfg2-4e1936396965352a434c5a0c19d5930bfad8fc14.zip
add active flag to client datatype
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5077 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Snapshots/model.py')
-rw-r--r--src/lib/Server/Snapshots/model.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Snapshots/model.py b/src/lib/Server/Snapshots/model.py
index e7a4a831d..07d0a328f 100644
--- a/src/lib/Server/Snapshots/model.py
+++ b/src/lib/Server/Snapshots/model.py
@@ -22,6 +22,7 @@ class Client(Base):
id = Column(Integer, primary_key=True)
name = Column(Unicode(64))
admins = relation("Administrator", secondary=admin_client)
+ active = Column(Boolean)
class Group(Base):
__tablename__ = 'group'