How to create a customer database