add database strategy