Skip to content

Commit b01d2f1

Browse files
committed
Added Housing Growth table schemas
1 parent c0fb820 commit b01d2f1

5 files changed

Lines changed: 2827 additions & 0 deletions

File tree

db/migration/0044_jazzy_landau.sql

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
CREATE TABLE "housing_growth_cd" (
2+
"geography_id" char(3) PRIMARY KEY NOT NULL,
3+
"units_2020_census" integer NOT NULL,
4+
"units_2020" integer NOT NULL,
5+
"completed_units_previous_10_years" integer NOT NULL,
6+
"completed_units_since_census" integer NOT NULL,
7+
"units_current" integer NOT NULL,
8+
"projected_completed_units_next_10_years" integer NOT NULL,
9+
"projected_units_in_10_years" integer NOT NULL
10+
);
11+
--> statement-breakpoint
12+
CREATE TABLE "housing_growth_nta" (
13+
"geography_id" char(6) PRIMARY KEY NOT NULL,
14+
"units_2020_census" integer NOT NULL,
15+
"units_2020" integer NOT NULL,
16+
"completed_units_previous_10_years" integer NOT NULL,
17+
"completed_units_since_census" integer NOT NULL,
18+
"units_current" integer NOT NULL,
19+
"projected_completed_units_next_10_years" integer NOT NULL,
20+
"projected_units_in_10_years" integer NOT NULL
21+
);

0 commit comments

Comments
 (0)