doc revision number and db migration scripts