From aa4269f764a6d1763fbffed70889a9d2ff402a45 Mon Sep 17 00:00:00 2001 From: Thibaut Fatus Date: Wed, 20 Nov 2024 09:07:28 +0100 Subject: [PATCH] Fix PostGIS doc (#30520) postgis uses `"gis"` schema, thus running the command as it is in the docs leads to an error `type "geography" does not exist` prefixing using the schema `gis.geometry` fixes the issue --- apps/docs/content/guides/database/extensions/postgis.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/guides/database/extensions/postgis.mdx b/apps/docs/content/guides/database/extensions/postgis.mdx index 9c470366db1..72b85b09aff 100644 --- a/apps/docs/content/guides/database/extensions/postgis.mdx +++ b/apps/docs/content/guides/database/extensions/postgis.mdx @@ -58,7 +58,7 @@ Let’s create our table. Each row represents a restaurant with its location sto create table if not exists public.restaurants ( id int generated by default as identity primary key, name text not null, - location geography(POINT) not null + location gis.geography(POINT) not null ); ```