Revert "Revert "add dbmigration""

This reverts commit 106a8324fb07abfb873826ceb6c62b7159ba8448.