ALTER TABLE raster_entry DROP COLUMN ground_geom;
SELECT AddGeometryColumn( 'raster_entry', 'ground_geom', 4326, 'POLYGON', 2 );
CREATE INDEX raster_entry_ground_geom_idx ON raster_entry USING GIST ( ground_geom GIST_GEOMETRY_OPS );

ALTER TABLE video_data_set DROP COLUMN ground_geom;
SELECT AddGeometryColumn( 'video_data_set', 'ground_geom', 4326, 'POLYGON', 2 );
CREATE INDEX video_data_set_ground_geom_idx ON video_data_set USING GIST ( ground_geom GIST_GEOMETRY_OPS );

VACUUM ANALYZE;

