diff options
author | 2013-07-24 19:56:52 +0200 | |
---|---|---|
committer | 2013-07-24 19:56:52 +0200 | |
commit | c67240467588bed6dd182416cff1618d8e169c1b (patch) | |
tree | 90f587e55b2cb797d757b024e89aeaf758bd5a7e /pg-datastore.lisp | |
parent | 97c5a1af86cc3e44a2d15b50fd982b204c34d604 (diff) | |
download | scrumli-c67240467588bed6dd182416cff1618d8e169c1b.tar.gz scrumli-c67240467588bed6dd182416cff1618d8e169c1b.zip |
Add assignment for stories
Diffstat (limited to 'pg-datastore.lisp')
-rw-r--r-- | pg-datastore.lisp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pg-datastore.lisp b/pg-datastore.lisp index 7c25c33..317eca5 100644 --- a/pg-datastore.lisp +++ b/pg-datastore.lisp @@ -118,3 +118,9 @@ (execute (:update type :set 'priority (max 1 (min next-priority max-priority)) :where (:= 'id id)))))) + +(defmethod datastore-set-assignee + ((datastore pg-datastore) type id assignee) + (with-connection (connection-spec datastore) + (execute (:update type :set 'assignee assignee + :where (:= 'id id))))) |