#JC-1494 Removed usages of the getPostIndex and setPostIndex methods in the Java code (they still present in the hibernate queries). Fixed migration - removed "not null" constraint for the LAST_READ_POST_INDEX column