Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions contents/docs/zero-schema.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@ const user = table('user')

Column types are defined with the `boolean()`, `number()`, `string()`, `json()`, and `enumeration()` helpers. See [Column Types](/docs/postgres-support#column-types) for how database types are mapped to these types.

<Note type="warning" slug="type-mismatches">
Currently, if the database type doesn’t map correctly to the Zero type,
replication will continue and succeed but the data won't match the TypeScript
type. This is a bug – in the future, this will be an error. See
https://bugs.rocicorp.dev/issue/3112.
</Note>

### Name Mapping

Use `from()` to map a TypeScript table or column name to a different database name:
Expand Down