Changed db cache columns to not null, improved raw sql compatibility
0.4.2