add state to import pgsql schema