auto-setup for in-memory db