-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Support datasource-specific attributes #194
Copy link
Copy link
Closed
Labels
Description
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.
Reactions are currently unavailable