Fixes drop table in schema and category FK