add database directive