Fix databaseinfra custom attrs