-
Notifications
You must be signed in to change notification settings - Fork 0
/
postcodes_schema.sql
56 lines (56 loc) · 1.05 KB
/
postcodes_schema.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
CREATE TABLE IF NOT EXISTS postcodes_tbl (
pcd VARCHAR,
pcd2 VARCHAR,
pcds VARCHAR,
dointr INTEGER,
doterm INTEGER,
oscty VARCHAR,
ced VARCHAR,
oslaua VARCHAR,
osward VARCHAR,
parish VARCHAR,
usertype INTEGER,
oseast1m INTEGER,
osnrth1m INTEGER,
osgrdind INTEGER,
oshlthau VARCHAR,
nhser VARCHAR,
ctry VARCHAR,
rgn VARCHAR,
streg VARCHAR,
pcon VARCHAR,
eer VARCHAR,
teclec VARCHAR,
ttwa VARCHAR,
pct VARCHAR,
itl VARCHAR,
statsward VARCHAR,
oa01 VARCHAR,
casward VARCHAR,
npark VARCHAR,
lsoa01 VARCHAR,
msoa01 VARCHAR,
ur01ind VARCHAR,
oac01 VARCHAR,
oa11 VARCHAR,
lsoa11 VARCHAR,
msoa11 VARCHAR,
wz11 VARCHAR,
sicbl VARCHAR,
bua11 VARCHAR,
buasd11 VARCHAR,
ru11ind VARCHAR,
oac11 VARCHAR,
lat DOUBLE,
long DOUBLE,
lep1 VARCHAR,
lep2 VARCHAR,
pfa VARCHAR,
imd INTEGER,
calncv VARCHAR,
icb VARCHAR,
oa21 VARCHAR,
lsoa21 VARCHAR,
msoa21 VARCHAR,
filename VARCHAR,
);