quickstart-chat modules in SpacetimeDB repo must have their tables declared public.
Module quickstart tutorials in spacetime-docs repo must have their code snippets updated for consistency with above, and should include a short description of what public and private tables are, and why tables are private by default.
Consider writing roughly, on the first #[spacetimedb(table)] definition:
Adding the public marker to a table allows clients to query and subscribe to the table. By default, tables are private, meaning they're visible only within reducers and to the module owner's SQL queries. It's important that private is the default so you don't accidentally make a table which contains sensitive information public, but in this case we want clients to be able to subscribe to {description of this table}, so we'll mark {this table} as public.
And on the second definition:
As with {previous table}, we want clients to be able to subscribe to {description of this table}, so we'll mark {this table} as public.
quickstart-chat
modules inSpacetimeDB
repo must have their tables declared public.spacetime-docs
repo must have their code snippets updated for consistency with above, and should include a short description of what public and private tables are, and why tables are private by default.Consider writing roughly, on the first
#[spacetimedb(table)]
definition:And on the second definition: