diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-04-07 16:22:11 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-04-07 16:22:11 -0400 |
commit | 24158c81fb4cc8b318ceb5bc461ab2f494cb7b78 (patch) | |
tree | 931b8113bdd0687ea37ee48d1dede73a7cc65a46 /demo/chat.ur | |
parent | 26ad31287745567b98b357de9793a0e795c63334 (diff) |
Add primary keys to demo
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]}); |