class Database -> patch
Revert "class Database -> patch"

This reverts commit 9019d0f48c6d2ed3c59e95d06ab18bf4c8aeea71.