add the database show-logic of migratesite