diff --git a/.gitignore b/.gitignore index 860f418f..7b29c247 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .DS_Store -.vscode/ \ No newline at end of file +.vscode/ +.idea \ No newline at end of file diff --git a/usage/installation/client-side-setup/define-your-schema.mdx b/usage/installation/client-side-setup/define-your-schema.mdx index 03ed8c7b..7520c61e 100644 --- a/usage/installation/client-side-setup/define-your-schema.mdx +++ b/usage/installation/client-side-setup/define-your-schema.mdx @@ -11,6 +11,8 @@ This schema represents a "view" of the downloaded data. No migrations are requir 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. Similar functionality exists in the PowerSync [CLI](/usage/tools/cli). + +**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). ## Example implementation