branch: elpa/emacsql
commit db0159f1381505bd9b6cb7f8a5c4d5a39debd40f
Author: Christopher Wellons <well...@nullprogram.com>
Commit: Christopher Wellons <well...@nullprogram.com>

    Update README.
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 082143f52d..3f26389b00 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ Requires Emacs 24 or later.
 (emacsql-create db :employees [name id salary])
 
 ;; Or optionally provide column constraints.
-(emacsql-create db :employees [(name text) (id integer) (salary real)])
+(emacsql-create db :employees [name (id integer :unique) (salary float)])
 
 ;; Insert some data:
 (emacsql-insert db :employees ["Jeff"  1000 60000.0]

Reply via email to