PostgreSQL only: Add autocompletion in the datasource block for extensions
when postgresqlExtensions
preview feature is set
#1265
Labels
Milestone
Problem
There is no autocompletion for the datasource property
extensions
Suggested solution
if the provider is
postgres
/postgresql
If the
postgresqlExtensions
preview feature is setWe can suggest
extensions = []
Inside
[]
, should we suggest anything?We could have a hard-coded list to suggest like
postgis
,citext
,pg_tgrm
,pgcrypto
...?Note
uuid-ossp
needs to be suggested asuuidOssp(map: "uuid-ossp")
Docs: https://www.prisma.io/docs/concepts/components/prisma-schema/postgresql-extensions
The text was updated successfully, but these errors were encountered: