You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
5. Fill the `API_TOKEN` variable with the access token from the [`CloudSync`](CLOUDSYNC.md) service.
36
+
5. Fill the `API_TOKEN` variable with the access token.
37
37
38
38
> **⚠️ SECURITY WARNING**: This example puts database connection strings directly in `.env` files for demonstration purposes only. **Do not use this pattern in production.**
Copy file name to clipboardExpand all lines: docs/postgresql/README.md
-53Lines changed: 0 additions & 53 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,49 +16,6 @@ We provide prebuilt binaries for:
16
16
* WebAssembly (WASM)
17
17
* Popular package managers and frameworks including React Native, Expo, Node, Swift PM and Android AAR
18
18
19
-
**Note:** The latest version (v0.9.96) is not yet available in the official SQLite Sync repository. Please use our development fork instead: [https://github.com/sqliteai/sqlite-sync-dev](https://github.com/sqliteai/sqlite-sync-dev)
20
-
21
-
<details>
22
-
<summary>List of development fork binaries (v0.9.96)</summary>
The extension has been refactored to support both **SQLite** and **PostgreSQL** backends.
64
21
* All database-specific native calls have been isolated in [database.h](../../src/database.h)
@@ -112,13 +69,6 @@ Additional CRDTs can be implemented if needed, though LWW covers most real-world
112
69
113
70
* Metrics dashboard available in [grafana-dashboard.json](grafana-dashboard.json)
114
71
115
-
* Additional logs available via the Fly.io monitoring dashboard
116
-
117
-
### Demo Deployment
118
-
119
-
For the current demo, a single CloudSync node is deployed in **Europe** on Fly.io.
120
-
If testing from other regions, latency will reflect this single-node deployment. A production deployment would use **geographically distributed nodes with regional routing** for global coverage.
121
-
122
72
123
73
# Postgres Sync
124
74
@@ -143,13 +93,10 @@ This preserves PostgreSQL-native organization while maintaining SQLite compatibi
143
93
144
94
The PostgreSQL integration is actively evolving. Current limitations include:
145
95
146
-
***User Impersonation**: The microservice currently applies server changes using the Supabase Admin user. In the next version, changes will be applied under the identity associated with the client’s JWT.
147
96
***Table Creation**: Tables must currently be created manually in PostgreSQL before synchronization. We are implementing automatic translation of SQLite CREATE TABLE statements to PostgreSQL syntax.
148
-
***Row-Level Security**: RLS is fully implemented for SQLite Cloud servers. PostgreSQL RLS integration is in progress and will be included in the final release.
149
97
***Beta Status**: While extensively tested, the PostgreSQL sync stack should currently be considered **beta software**. Please report any issues; we are committed to resolving them quickly.
150
98
151
99
# Next
152
100
*[CLIENT](CLIENT.md) installation and setup
153
-
*[CLOUDSYNC](CLOUDSYNC.md) microservice configuration and setup
154
101
*[SUPABASE](SUPABASE.md) configuration and setup
155
102
*[SPORT-TRACKER APP](SPORT_APP_README_SUPABASE.md) demo web app based on SQLite Sync WASM
0 commit comments