Skip to content

Commit aab25cd

Browse files
Add id snippet (#10)
* Add id snippet
1 parent 8d0bb22 commit aab25cd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.DS_Store
2-
.vscode/
2+
.vscode/
3+
.idea

usage/installation/client-side-setup/define-your-schema.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ This schema represents a "view" of the downloaded data. No migrations are requir
1111
In the [PowerSync Dashboard](/usage/tools/powersync-dashboard), the schema can be generated based off your [Sync Rules](/usage/sync-rules) by right-clicking on an instance and selecting **Generate client-side schema**. Currently, the schema can be generated in JavaScript or Dart. Support for Kotlin is coming soon.
1212

1313
Similar functionality exists in the PowerSync [CLI](/usage/tools/cli).
14+
15+
**Note:** The generated schema will exclude the `id` column, as the client SDK automatically creates an `id` column of type `text`. Consequently, it is not necessary to specify an `id` column in your schema. For additional information on IDs, refer to [Client ID](/usage/sync-rules/client-id).
1416
</Info>
1517

1618
## Example implementation

0 commit comments

Comments
 (0)