mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
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:
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
|
||||
);
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user