add some lightweight migration framework into the db namespace