deep linking and switch to postgres