diff options
Diffstat (limited to 'demo/chat.ur')
-rw-r--r-- | demo/chat.ur | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demo/chat.ur b/demo/chat.ur index ad1bf2ca..067397eb 100644 --- a/demo/chat.ur +++ b/demo/chat.ur @@ -4,6 +4,7 @@ structure Room = Broadcast.Make(struct sequence s table t : { Id : int, Title : string, Room : Room.topic } + PRIMARY KEY Id fun chat id = r <- oneRow (SELECT t.Title, t.Room FROM t WHERE t.Id = {[id]}); |