diff demo/refFun.ur @ 708:1a317a707d71

Add primary keys to demo
author Adam Chlipala <adamc@hcoop.net>
date Tue, 07 Apr 2009 16:22:11 -0400
parents 7ef4b2911b09
children
line wrap: on
line diff
--- a/demo/refFun.ur	Tue Apr 07 16:14:31 2009 -0400
+++ b/demo/refFun.ur	Tue Apr 07 16:22:11 2009 -0400
@@ -7,6 +7,7 @@
 
     sequence s
     table t : { Id : int, Data : M.data }
+      PRIMARY KEY Id
 
     fun new d =
         id <- nextval s;