most of this stuff looks necessary, do we migrate the db in some other step?