Added production.db and generateProductionDatabase function