views_geometry_columns_auth
Data license: Creative Commons Attribution · Data source: GreenInfo Network · About: simonw/calands-datasette
0 records
CREATE TABLE views_geometry_columns_auth ( view_name TEXT NOT NULL, view_geometry TEXT NOT NULL, hidden INTEGER NOT NULL, CONSTRAINT pk_vwgc_auth PRIMARY KEY (view_name, view_geometry), CONSTRAINT fk_vwgc_auth FOREIGN KEY (view_name, view_geometry) REFERENCES views_geometry_columns (view_name, view_geometry) ON DELETE CASCADE, CONSTRAINT ck_vwgc_hidden CHECK (hidden IN (0,1))); CREATE INDEX [idx_views_geometry_columns_auth_view_name] ON [views_geometry_columns_auth] ([view_name]); CREATE INDEX [idx_views_geometry_columns_auth_view_geometry] ON [views_geometry_columns_auth] ([view_geometry]);