File tree Expand file tree Collapse file tree 3 files changed +34
-95
lines changed
Expand file tree Collapse file tree 3 files changed +34
-95
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,25 @@ CREATE EXTENSION IF NOT EXISTS cloudsync;
6464
6565---
6666
67- # # Step 2: Register Your Database in the CloudSync Dashboard
67+ # # Step 2: Verify the Extension
68+
69+ If you are using Docker :
70+
71+ ` ` ` bash
72+ docker compose exec db psql -U postgres -d postgres -c "SELECT cloudsync_version();"
73+ ` ` `
74+
75+ If you are using an existing PostgreSQL installation without Docker :
76+
77+ ` ` ` bash
78+ psql -U postgres -d postgres -c "SELECT cloudsync_version();"
79+ ` ` `
80+
81+ If the extension is installed correctly, PostgreSQL returns the CloudSync version string.
82+
83+ ---
84+
85+ # # Step 3: Register Your Database in the CloudSync Dashboard
6886
6987# ## 2.1 Create a Workspace
7088
@@ -86,7 +104,7 @@ CREATE EXTENSION IF NOT EXISTS cloudsync;
86104
87105---
88106
89- # # Step 3 : Set Up Authentication
107+ # # Step 4 : Set Up Authentication
90108
91109# ## Quick Test with API Key (Recommended for Testing)
92110
@@ -127,7 +145,7 @@ If you need role-based access control (RLS) or production security:
127145
128146---
129147
130- # # Step 4 : Enable CloudSync on Tables
148+ # # Step 5 : Enable CloudSync on Tables
131149
1321501. In the CloudSync dashboard, go to the **Sync Tables** tab
1331512. **Select tables** you want to sync (checkbox each table)
Original file line number Diff line number Diff line change @@ -73,7 +73,17 @@ CREATE EXTENSION IF NOT EXISTS cloudsync;
7373
7474---
7575
76- # # Step 2: Register Your Database in the CloudSync Dashboard
76+ # # Step 2: Verify the Extension
77+
78+ ` ` ` bash
79+ docker compose exec db psql -U supabase_admin -d postgres -c "SELECT cloudsync_version();"
80+ ` ` `
81+
82+ If the extension is installed correctly, PostgreSQL returns the CloudSync version string.
83+
84+ ---
85+
86+ # # Step 3: Register Your Database in the CloudSync Dashboard
7787
7888# ## 2.1 Create a Workspace
7989
@@ -95,7 +105,7 @@ CREATE EXTENSION IF NOT EXISTS cloudsync;
95105
96106---
97107
98- # # Step 3 : Set Up Authentication
108+ # # Step 4 : Set Up Authentication
99109
100110# ## Quick Test with API Key (Recommended for Testing)
101111
@@ -134,7 +144,7 @@ If you need role-based access control (RLS) or production security:
134144
135145---
136146
137- # # Step 4 : Enable CloudSync on Tables
147+ # # Step 5 : Enable CloudSync on Tables
138148
1391491. In the CloudSync dashboard, go to the **Tables** tab
1401502. **Select tables** you want to sync (checkbox each table)
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments