make sure extensions are persisted in the database