Minor fixes for Dewdrop core DDL in pgsql