Add table for sub region type

This commit is contained in:
WQY\qiong
2023-05-13 18:00:52 +08:00
parent 99775af649
commit 6d30bf7d70
10 changed files with 30 additions and 0 deletions

View File

@@ -1,6 +1,9 @@
create type region_type as enum ('NONE', 'DMA', 'SA', 'VD', 'WDA');
create table region
(
id text primary key
, r_type region_type not null default 'NONE'
, boundary geometry not null unique
);