insert into spatial_ref_sys_attributes (srid_id, epsg_id, views) select srid, srid, 0 from spatial_ref_sys;