[Pkg-debile-commits] [debile-master] 109/126: Make the machine name unique

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:56:25 UTC 2013


This is an automated email from the git hooks/post-receive script.

sylvestre pushed a commit to branch scan-build-html
in repository debile-master.

commit e5bbe3b62d75d3f436399b863b841a08bc59bf5d
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Mon Jul 29 19:05:21 2013 +0200

    Make the machine name unique
---
 lucy/orm.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lucy/orm.py b/lucy/orm.py
index 4403fa4..729963e 100644
--- a/lucy/orm.py
+++ b/lucy/orm.py
@@ -24,7 +24,7 @@ class User(Base):
 class Machine(Base):
     __tablename__ = 'machines'
     id = Column(Integer, primary_key=True)
-    name = Column(String(100))
+    name = Column(String(100), unique=True)
     last_ping = Column(DateTime)
     gpg_fingerprint = Column(String(100))
     password = Column(String)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-master.git



More information about the Pkg-debile-commits mailing list