Skip to content

Support datasource-specific attributes #194

@newtack

Description

@newtack

Problem

Databases like Postgres are incredibly feature-rich. Exposing all of those features would clutter up the schema for databases that do not support these features.

Possible Solution

We introduce datasource-specific attributes @pg.check(...), which allow more advanced features while making it clear that this is datasource-specific and may make it harder to switch databases.

Original Question

Where are the pg attributes documented? For example I want to specify the maximum length of a string or customize the type definition for postgres, it's hard to find out what is available.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions