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
This commit is contained in:
Thibaut Fatus authored and GitHub committed 2024-11-20 08:07:28 +00:00
1 parent 821a6afd23
commit aa4269f764
1 file changed
+1 -1
@@ -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
);
```