Your solution

Water has a natural desire to flow from plus to minus, therefor the solution for a drainage of the brickwork is quite logical. By application of electrodes, polarity of the naturally generated electric potential is reversed, consequently the movement of the water is reversed, too.  The effect: water moves back to the ground, where there is now a minus potential. A fascinatingly simple idea.