Add API from old repo.
Let Code Igniter try to guess app path.
Update database name.