From 79bd14a8cffec4f0a3373e41ee3d24aa9735fdd8 Mon Sep 17 00:00:00 2001 From: Azarattum Date: Wed, 20 Sep 2023 11:58:09 +0700 Subject: [PATCH] update readme examples to use not null --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dc0f63a63..171e0bd7b 100644 --- a/README.md +++ b/README.md @@ -92,8 +92,8 @@ Usage looks like: .load crsqlite .mode qbox -- create tables as normal -create table foo (a primary key, b); -create table baz (a primary key, b, c, d); +create table foo (a primary key not null, b); +create table baz (a primary key not null, b, c, d); -- update those tables to be crrs / crdts select crsql_as_crr('foo'); @@ -180,7 +180,7 @@ Example table definition: ```sql CREATE CLSet post ( - id INTEGER PRIMARY KEY, + id INTEGER PRIMARY KEY NOT NULL, views COUNTER, content PERITEXT, owner_id LWW INTEGER