Revert "database"

This reverts commit 4b03b772e9ca08ca7c61a37b0ac39ef8e896f497.