JSONB (JSON) and UUID column support? [.drift] [Postgres] #2802
Labels
area-analyzer
Related to analyzing code in drift_dev
backend-postgres
Related to drift_postgres
enhancement
New feature or request
package-drift_dev
Affects the drift_dev package
Is your feature request related to a problem? Please describe.
I am using drift_postgres and want to create JSONB (preferably over JSON) and also UUID columns in .drift file SQL definitions.
Describe the solution you'd like
This .drift SQL results in
double
typed columns:I also tried
JSON
:and received the following build error:
generated on line 2674 of package:sqlparser-0.33.0/lib/src/reader/parser.dart.
But I would prefer JSONB as that is now the new, "comparable" PostgreSQL JSON type.
I think I have to just use manual Dart
Table
definitions for now for Postgres.Thanks!
The text was updated successfully, but these errors were encountered: