Skip to content

Commit

Permalink
update readme examples to use not null
Browse files Browse the repository at this point in the history
  • Loading branch information
Azarattum authored and tantaman committed Sep 20, 2023
1 parent 53232f7 commit 79bd14a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 79bd14a

Please sign in to comment.