1 -- SPDX-License-Identifier: GPL-2.0-only
3 -- This file is part of Nominatim. (https://nominatim.org)
5 -- Copyright (C) 2022 by the Nominatim developer community.
6 -- For a full list of authors see the git log.
7 DROP TABLE IF EXISTS gb_postcode;
8 CREATE TABLE gb_postcode (
10 postcode character varying(9),
12 CONSTRAINT enforce_dims_geometry CHECK ((st_ndims(geometry) = 2)),
13 CONSTRAINT enforce_srid_geometry CHECK ((st_srid(geometry) = 4326))
16 DROP TABLE IF EXISTS us_postcode;
17 CREATE TABLE us_postcode (