Skip to content

Commit cfda137

Browse files
committed
Add nta schema
1 parent a161a63 commit cfda137

4 files changed

Lines changed: 2009 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CREATE TABLE "neighborhood_tabulation_area" (
2+
"name" text NOT NULL,
3+
"year" smallint NOT NULL,
4+
"code" text,
5+
"li_ft" geometry(multiPolygon,2263),
6+
"mercator_fill" geometry(multiPolygon,3857),
7+
CONSTRAINT "neighborhood_tabulation_area_name_year_pk" PRIMARY KEY("name","year")
8+
);
9+
--> statement-breakpoint
10+
CREATE INDEX "neighborhood_tabulation_area_li_ft_index" ON "neighborhood_tabulation_area" USING GIST ("li_ft");--> statement-breakpoint
11+
CREATE INDEX "neighborhood_tabulation_area_mercator_fill_index" ON "neighborhood_tabulation_area" USING GIST ("mercator_fill");

0 commit comments

Comments
 (0)