create coloans and coloans-by-lid database entries