
-- create schema errors;

create table errors.test_null_geom (id int4 primary key);

select addgeometrycolumn('errors', 'test_null_geom', 'geom', 3003, 'MULTIPOLYGON', 2);

insert into errors.test_null_geom (id, geom) values (1, NULL);
insert into errors.test_null_geom (id, geom) values (2, NULL);

-- select dropgeometrycolumn('errors', 'test_null_geom', 'geom');
-- drop table errors.test_null_geom;

-- drop schema errors;