Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite
SELECT crsql_sha()
The biggest changes:
site_id
is required and no longer nullable in crsql_changes
This means that for selecting local only changes you need to do SELECT * FROM crsql_changes WHERE db_version > ? AND site_id = crsql_site_id()
rather than site_id IS NULL
Primary key columns may no longer be nullable. This was always the case but now it is explicitly enforced
null
value in the primary key column.crr
tablescrr
tables :(libsql
crsql_changes
npm install
would not use pre-build binariesnull
value in the primary key column.crr
tablescrr
tables :(libsql
crsql_changes
This change is network compatible with v0.15.0
but not source compatible. I.e., v0.16.0 DBs can talk to v0.15.0 DBs but v0.16.0 extensions cannot be loaded into v0.15.0 DB connections.