I have 5 shapefiles in Postgres. i am trying to merge them into one shapefile but each shapefile has a different amount of columns and data types. I am aware the union and union all will not work if there are different amounts of columns and data types. they all have the same SRID
select * into newtable
from(select * from schools
union all
select * from childcare
union all
select * from infrastructure
union all
select * from nursinghomes
union all
select * from hospitals
)t;
I am wondering if there is work around that can merge or smash the shapefiles together similar to the merge tool in arcgis which will do this