Code is PostgreSQL complaint now
Fixed minor errors

References keys on table curr_stated_relationship_f did not point to right table - missing _f
Added drop cascade to successfully whip the previous tables and content -  Foreign keys prevent dropping a single table.