mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
9 lines
283 B
SQL
9 lines
283 B
SQL
-- Create extension "postgis"
|
|
CREATE EXTENSION "postgis" WITH SCHEMA "public" VERSION "3.4.2";
|
|
-- Create "users" table
|
|
CREATE TABLE "public"."users" (
|
|
"id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY,
|
|
"location" public.geometry(point,4326) NOT NULL,
|
|
PRIMARY KEY ("id")
|
|
);
|