make db as store