db scaffolding setup