Fix local DB setup details
Fix error while retrieving sequence id