Discrete analogues of the Liouville equation