foundation + db